diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
commit | 0c6a3253fe7d652e4d744555cc7352fffd4d103a (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/quake3server-osp | |
parent | 4e56d99acab2b215405ccc900e56d697c30ae727 (diff) | |
download | pkgsrc-0c6a3253fe7d652e4d744555cc7352fffd4d103a.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/quake3server-osp')
-rw-r--r-- | games/quake3server-osp/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/quake3server-osp/Makefile b/games/quake3server-osp/Makefile index fada299cc45..dd29b269d84 100644 --- a/games/quake3server-osp/Makefile +++ b/games/quake3server-osp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2006/02/05 23:09:22 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2008/03/04 06:59:05 jlam Exp $ DISTNAME= osp-Quake3-1.03a_full PKGNAME= quake3server-osp-1.03a @@ -11,6 +11,8 @@ EXTRACT_SUFX= .zip MAINTAINER= david@silicium.ath.cx COMMENT= Quake III Arena Mod: OSP Tourney DM/CA/CTF for Linux +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../games/quake3server/Makefile.common" DEPENDS+= quake3server>=1.32:../../games/quake3server @@ -19,7 +21,7 @@ WRKSRC= ${WRKDIR}/osp Q3MODDIR= ${Q3ROOTDIR}/osp do-install: - ${INSTALL_DATA_DIR} ${Q3MODDIR} - cd ${WRKSRC} && ${PAX} -rw . ${Q3MODDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${Q3MODDIR} + cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${Q3MODDIR} .include "../../mk/bsd.pkg.mk" |