Hi,
I try to create the simplest possible port for testing reasons: the port should install a sh script to /tmp that echoes some words.
The distfile's directory tree is:
The port's Makefile is in /usr/ports/misc/testport:
I thought that this should work but I get the error:
What is missing?
I try to create the simplest possible port for testing reasons: the port should install a sh script to /tmp that echoes some words.
The distfile's directory tree is:
Code:
testport-1.0/
grub_install.sh
The port's Makefile is in /usr/ports/misc/testport:
Code:
# $FreeBSD:$ #
PORTNAME= testport
PORTVERSION= 1.0
CATEGORIES= misc
MAINTAINER= izotov
COMMENT= test port
PLIST_FILES= tmp/grub_install.sh
PREFIX= /
NO_BUILD= yes
I thought that this should work but I get the error:
Code:
freebsd02# make install
===> Installing for testport-1.0
===> Generating temporary packing list
===> Checking if misc/testport already installed
make: cannot open Makefile.
*** Error code 2
Stop in /usr/ports/misc/testport.