diff options
author | jlam <jlam> | 2008-03-04 06:59:03 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 06:59:03 +0000 |
commit | a5ad2f881e519990668be04e718e20f1b24c9005 (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/icebreaker | |
parent | 5797bfbd52d9b106c2e38ccceb177a47bad034f3 (diff) | |
download | pkgsrc-a5ad2f881e519990668be04e718e20f1b24c9005.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/icebreaker')
-rw-r--r-- | games/icebreaker/Makefile | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/games/icebreaker/Makefile b/games/icebreaker/Makefile index 0755814b5cb..3a01fe539e2 100644 --- a/games/icebreaker/Makefile +++ b/games/icebreaker/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.27 2007/09/09 16:59:19 wiz Exp $ +# $NetBSD: Makefile,v 1.28 2008/03/04 06:59:04 jlam Exp $ # DISTNAME= icebreaker-1.9.7 -PKGREVISION= 9 +PKGREVISION= 10 CATEGORIES= games MASTER_SITES= http://mattdm.org/icebreaker/1.9.x/ EXTRACT_SUFX= .tgz @@ -11,20 +11,27 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://mattdm.org/icebreaker/ COMMENT= Penguin capturing simulation +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake MAKE_ENV+= mandir="${PREFIX}/man" highscoredir="/var/games" MAKE_ENV+= prefix=${PREFIX:Q} +SETGIDGAME= yes +SPECIAL_PERMS= bin/icebreaker ${SETGID_GAMES_PERMS} + INSTALLATION_DIRS= bin ${PKGMANDIR}/man6 do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/icebreaker - ${INSTALL_DATA_DIR} ${PREFIX}/share/icebreaker + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/icebreaker + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/icebreaker cd ${WRKSRC} && ${INSTALL_DATA} *.ibt *.wav *.bmp \ - ${PREFIX}/share/icebreaker - ${INSTALL_PROGRAM} -g games -m 2755 ${WRKSRC}/icebreaker ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/icebreaker.6 ${PREFIX}/${PKGMANDIR}/man6 - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/icebreaker + ${DESTDIR}${PREFIX}/share/icebreaker + ${INSTALL_PROGRAM} ${WRKSRC}/icebreaker ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/icebreaker.6 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6 + ${INSTALL_DATA} ${WRKSRC}/README \ + ${DESTDIR}${PREFIX}/share/doc/icebreaker .include "../../audio/SDL_mixer/buildlink3.mk" .include "../../multimedia/smpeg/buildlink3.mk" |