aboutsummaryrefslogtreecommitdiffstats
path: root/games/jetpack
diff options
context:
space:
mode:
Diffstat (limited to 'games/jetpack')
-rw-r--r--games/jetpack/Makefile10
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