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/rtcw | |
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/rtcw')
-rw-r--r-- | games/rtcw/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/rtcw/Makefile b/games/rtcw/Makefile index 5c9c7492e1a..106359fadd7 100644 --- a/games/rtcw/Makefile +++ b/games/rtcw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/07/29 05:19:26 jlam Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/04 06:59:05 jlam Exp $ DISTNAME= wolf-linux-1.33.x86 PKGNAME= rtcw-1.33 @@ -23,6 +23,8 @@ EMUL_MODULES.linux= base # This package needs DRI support. NOT_FOR_PLATFORM= NetBSD-*-* +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_DIRS= # empty RTCWDIR= ${PREFIX}/lib/lokigames/rtcw USE_TOOLS+= gtar @@ -33,7 +35,7 @@ pre-extract: ${MKDIR} ${WRKSRC} do-install: - ${INSTALL_DATA_DIR} ${RTCWDIR} - cd ${WRKSRC} && ${PAX} -rw -p am . ${RTCWDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${RTCWDIR} + cd ${WRKSRC} && ${PAX} -rw -p am . ${DESTDIR}${RTCWDIR} .include "../../mk/bsd.pkg.mk" |