summaryrefslogtreecommitdiff
path: root/games/quake3server-osp
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 06:59:03 +0000
committerjlam <jlam>2008-03-04 06:59:03 +0000
commita5ad2f881e519990668be04e718e20f1b24c9005 (patch)
tree85dcef76c01a75047f6f6e519e34539fa17ae348 /games/quake3server-osp
parent5797bfbd52d9b106c2e38ccceb177a47bad034f3 (diff)
downloadpkgsrc-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/quake3server-osp')
-rw-r--r--games/quake3server-osp/Makefile8
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"