From 076fb730659f3b4400201c06605d4f4b43eb2ba1 Mon Sep 17 00:00:00 2001 From: Jean-Marc Zucconi Date: Mon, 21 Nov 1994 02:19:48 +0000 Subject: Use ${PREFIX} Create destination directories before install Set correct permissions --- games/jetpack/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'games/jetpack') diff --git a/games/jetpack/Makefile b/games/jetpack/Makefile index cfc150eae017..416d862c0aa1 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 + +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 -- cgit v1.2.3