summaryrefslogtreecommitdiff
path: root/games/xbill/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-08 17:03:51 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-08 17:03:51 +0000
commita3794676d9fb13361e55ee55cf5b879ee70e3041 (patch)
treeec32d9af17322c5d9903d5dbc05bade4bad459bb /games/xbill/Makefile
parent49e26717800ffaff83611c5034d9e8d860b63866 (diff)
downloadpkgsrc-a3794676d9fb13361e55ee55cf5b879ee70e3041.tar.gz
user-destdir support
Diffstat (limited to 'games/xbill/Makefile')
-rw-r--r--games/xbill/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/games/xbill/Makefile b/games/xbill/Makefile
index 5d496e418d8..9e90cccd1c3 100644
--- a/games/xbill/Makefile
+++ b/games/xbill/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2008/11/10 17:21:35 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2009/07/08 17:07:41 joerg Exp $
#
DISTNAME= xbill-2.0
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.xbill.org/
COMMENT= Stop the dreaded Windows virus from infecting computers
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS+= gnome-games-[0-9]*
USE_LANGUAGES= c c++
@@ -30,8 +32,8 @@ CONF_FILES_PERMS+= ${PREFIX}/share/examples/xbill.scores ${VARBASE}/games/xbill.
INSTALLATION_DIRS+= ${PKGMANDIR}/man6 share/examples
post-install:
- ${INSTALL_MAN} ${WRKSRC}/xbill.man ${PREFIX}/${PKGMANDIR}/man6/xbill.6
- ${INSTALL_DATA} ${WRKSRC}/scores ${PREFIX}/share/examples/xbill.scores
+ ${INSTALL_MAN} ${WRKSRC}/xbill.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/xbill.6
+ ${INSTALL_DATA} ${WRKSRC}/scores ${DESTDIR}${PREFIX}/share/examples/xbill.scores
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"