diff options
Diffstat (limited to 'games/xworm/Makefile')
-rw-r--r-- | games/xworm/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/games/xworm/Makefile b/games/xworm/Makefile index f6672ce4c4b..3a33fdb5b09 100644 --- a/games/xworm/Makefile +++ b/games/xworm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2008/01/19 09:16:24 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2008/03/04 06:59:06 jlam Exp $ DISTNAME= xworm102 PKGNAME= xworm-1.02 @@ -9,16 +9,18 @@ MASTER_SITES= http://www.ekran.no/archive/x/ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Classic game with apples and hungry worm +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/XWorm BUILD_TARGET= bsd INSTALLATION_DIRS= bin do-install: - @ ${INSTALL_PROGRAM} ${WRKSRC}/xworm ${PREFIX}/bin - @ ${INSTALL_DATA_DIR} ${PREFIX}/share/xworm + ${INSTALL_PROGRAM} ${WRKSRC}/xworm ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/xworm .for file in font grid raw - ${INSTALL_DATA} ${WRKSRC}/xworm.${file} ${PREFIX}/share/xworm + ${INSTALL_DATA} ${WRKSRC}/xworm.${file} ${DESTDIR}${PREFIX}/share/xworm .endfor .include "../../x11/libXt/buildlink3.mk" |