summaryrefslogtreecommitdiff
path: root/games/quake3server-ut
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-ut
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-ut')
-rw-r--r--games/quake3server-ut/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/games/quake3server-ut/Makefile b/games/quake3server-ut/Makefile
index e1f4b931a61..cb1fefc46e8 100644
--- a/games/quake3server-ut/Makefile
+++ b/games/quake3server-ut/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/02/05 23:09:22 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/04 06:59:05 jlam Exp $
DISTNAME= urbanterror3
PKGNAME= quake3server-ut-3.0
@@ -17,6 +17,8 @@ MASTER_SITES= http://64.159.80.11/ \
MAINTAINER= david@silicium.ath.cx
COMMENT= Quake III Arena Mod: Urban Terror 3 for Linux
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../games/quake3server/Makefile.common"
DEPENDS+= quake3server>=1.32:../../games/quake3server
@@ -28,13 +30,13 @@ DOCDIR= ${PREFIX}/share/doc/lokigames/quake3server/ut
MESSAGE_SUBST+= Q3MODDIR=${Q3MODDIR}
do-install:
- ${INSTALL_DATA_DIR} ${Q3MODDIR}
- ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${Q3MODDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/zq3ut3.pk3 ${Q3MODDIR}
+ ${INSTALL_DATA} ${WRKSRC}/zq3ut3.pk3 ${DESTDIR}${Q3MODDIR}
for docfile in readme.txt overview.txt radio\ commands.txt; do \
- ${INSTALL_DATA} "${WRKSRC}/$${docfile}" ${DOCDIR}; \
+ ${INSTALL_DATA} "${WRKSRC}/$${docfile}" ${DESTDIR}${DOCDIR}; \
done
.include "../../mk/bsd.pkg.mk"