summaryrefslogtreecommitdiff
path: root/games/quake3server-excessive
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-excessive
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-excessive')
-rw-r--r--games/quake3server-excessive/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/games/quake3server-excessive/Makefile b/games/quake3server-excessive/Makefile
index 02ea78a8b05..1ceb0c88556 100644
--- a/games/quake3server-excessive/Makefile
+++ b/games/quake3server-excessive/Makefile
@@ -1,15 +1,17 @@
-# $NetBSD: Makefile,v 1.4 2006/02/05 23:09:22 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/04 06:59:05 jlam Exp $
DISTNAME= excessive_q3_server_003
PKGNAME= quake3server-excessive-003
PKGREVISION= 1
CATEGORIES= games net
MASTER_SITES= ftp://ftp.fr.FreeBSD.org/pub/FreeBSD/distfiles/
+EXTRACT_SUFX= .zip
MAINTAINER= david@silicium.ath.cx
COMMENT= Quake III Arena Mod: Excessive for Linux
-EXTRACT_SUFX= .zip
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
.include "../../games/quake3server/Makefile.common"
@@ -20,7 +22,7 @@ NO_BUILD= yes
Q3MODDIR= ${Q3ROOTDIR}/excessive
do-install:
- ${INSTALL_DATA_DIR} ${Q3MODDIR}
- cd ${WRKSRC}/excessive && ${PAX} -rwppm . ${Q3MODDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${Q3MODDIR}
+ cd ${WRKSRC}/excessive && ${PAX} -rwppm . ${DESTDIR}${Q3MODDIR}
.include "../../mk/bsd.pkg.mk"