diff options
author | joerg <joerg@pkgsrc.org> | 2010-06-25 22:47:50 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-06-25 22:47:50 +0000 |
commit | cf21396941978a6ff876049cdbf8e0075561fbfe (patch) | |
tree | 63c0b7850a9533615883556cf3c2e6ec594dbb3e | |
parent | 9acbf5309e91a7ff00c5054cff5d3e6831ed4c14 (diff) | |
download | pkgsrc-cf21396941978a6ff876049cdbf8e0075561fbfe.tar.gz |
DESTDIR support
-rw-r--r-- | games/tuxmath/Makefile | 9 | ||||
-rw-r--r-- | games/tuxmath/distinfo | 4 | ||||
-rw-r--r-- | games/tuxmath/patches/patch-aa | 6 |
3 files changed, 11 insertions, 8 deletions
diff --git a/games/tuxmath/Makefile b/games/tuxmath/Makefile index b84efda12da..2e361fe2217 100644 --- a/games/tuxmath/Makefile +++ b/games/tuxmath/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2010/06/13 22:44:24 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2010/06/25 22:47:50 joerg Exp $ # DISTNAME= tuxmath-2001.09.07-0102 @@ -11,18 +11,21 @@ MAINTAINER= reed@reedmedia.net HOMEPAGE= http://www.newbreedsoftware.com/tuxmath/ COMMENT= Educational math arcade game +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/tuxmath USE_TOOLS+= gmake NO_CONFIGURE= yes +INSTALLATION_DIRS+= bin share/doc/tuxmath + pre-install: ${FIND} ${WRKSRC} -name CVS -type d -print | ${XARGS} ${RM} -rf ${RM} -rf ${WRKSRC}/data/images/.xvpics ${RM} -rf ${WRKSRC}/data/images/status/.xvpics post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tuxmath - ${INSTALL_DATA} ${WRKSRC}/docs/README.txt ${PREFIX}/share/doc/tuxmath/ + ${INSTALL_DATA} ${WRKSRC}/docs/README.txt ${DESTDIR}${PREFIX}/share/doc/tuxmath/ .include "../../audio/SDL_mixer/buildlink3.mk" .include "../../graphics/SDL_image/buildlink3.mk" diff --git a/games/tuxmath/distinfo b/games/tuxmath/distinfo index 49b560aadf5..2bd4c79fe5f 100644 --- a/games/tuxmath/distinfo +++ b/games/tuxmath/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 23:12:03 agc Exp $ +$NetBSD: distinfo,v 1.3 2010/06/25 22:47:50 joerg Exp $ SHA1 (tuxmath-2001.09.07-0102.tar.gz) = bdc146f05a9c0b5785bb14c73da2973af16a2bfc RMD160 (tuxmath-2001.09.07-0102.tar.gz) = 86c3adc3b678a3a4f1276e85728201c4837ea6fd Size (tuxmath-2001.09.07-0102.tar.gz) = 1339967 bytes -SHA1 (patch-aa) = f67528fe22e7a13dba902f2940ae91822a8bcb45 +SHA1 (patch-aa) = 08e3003b1ddd25bbfbc660402cfba3cf61feb4b3 SHA1 (patch-ab) = 236ed4430c410a01196cad5ac118cbde1a48ab4e diff --git a/games/tuxmath/patches/patch-aa b/games/tuxmath/patches/patch-aa index 650b321feb4..ad48ca9a2f5 100644 --- a/games/tuxmath/patches/patch-aa +++ b/games/tuxmath/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2003/06/03 00:41:41 hubertf Exp $ +$NetBSD: patch-aa,v 1.2 2010/06/25 22:47:50 joerg Exp $ --- Makefile.orig Fri Sep 7 00:40:21 2001 +++ Makefile Wed Mar 26 23:23:08 2003 @@ -8,8 +8,8 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/06/03 00:41:41 hubertf Exp $ -DATA_PREFIX=/usr/share/tuxmath/ -BIN_PREFIX=/usr/local/bin/ -+DATA_PREFIX=$(PREFIX)/share/tuxmath/ -+BIN_PREFIX=$(PREFIX)/bin/ ++DATA_PREFIX=${DESTDIR}$(PREFIX)/share/tuxmath/ ++BIN_PREFIX=${DESTDIR}$(PREFIX)/bin/ VERSION=2001.09.07 |