izotov
February 9th, 2011, 10:29
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:
testport-1.0/
grub_install.sh
The port's Makefile is in /usr/ports/misc/testport:
# $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:
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.
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:
testport-1.0/
grub_install.sh
The port's Makefile is in /usr/ports/misc/testport:
# $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:
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.
What is missing?