diff options
author | jmz <jmz@FreeBSD.org> | 1994-11-21 10:19:48 +0800 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1994-11-21 10:19:48 +0800 |
commit | 1f9013b0011236b9291ca5c11c977a633705ce79 (patch) | |
tree | 8fe36f8035cead010931ca06c284b35a2625227f /games/jetpack | |
parent | b98740df2ce051f62b4a2573d3a695443a01024e (diff) | |
download | freebsd-ports-graphics-1f9013b0011236b9291ca5c11c977a633705ce79.tar.gz freebsd-ports-graphics-1f9013b0011236b9291ca5c11c977a633705ce79.tar.zst freebsd-ports-graphics-1f9013b0011236b9291ca5c11c977a633705ce79.zip |
Use ${PREFIX}
Create destination directories before install
Set correct permissions
Diffstat (limited to 'games/jetpack')
-rw-r--r-- | games/jetpack/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/games/jetpack/Makefile b/games/jetpack/Makefile index cfc150eae01..416d862c0aa 100644 --- a/games/jetpack/Makefile +++ b/games/jetpack/Makefile @@ -2,8 +2,18 @@ DISTNAME= jetpack DISTFILES= jetpack.tar.Z USE_IMAKE= yes MASTER_SITES= ftp://iraun1.ira.uka.de/pub/x11/ +MAKE_FLAGS= PREFIX=${PREFIX} -f pre-install: + @mkdir -p ${PREFIX}/bin + @mkdir -p ${PREFIX}/man/man6 + @mkdir -p ${PREFIX}/lib/jetpack @(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install.man) .include <bsd.port.mk> + +install: + @chown games ${PREFIX}/bin/jetpack + @chmod u+s ${PREFIX}/bin/jetpack + @chown games ${PREFIX}/lib/jetpack + @chmod go+r ${PREFIX}/lib/jetpack/jetpack.lev000 |