summaryrefslogtreecommitdiff
path: root/games/xjig
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-14 22:04:01 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-14 22:04:01 +0000
commitce70f0943d3f7de644ccb85184b3ee71c3616a26 (patch)
tree700cdbba0d6aab3cd2f5597f8a3db009df64784e /games/xjig
parent9122de1350cc8f4a5b2edc59840047681d8ffe3e (diff)
downloadpkgsrc-ce70f0943d3f7de644ccb85184b3ee71c3616a26.tar.gz
DESTDIR support
Diffstat (limited to 'games/xjig')
-rw-r--r--games/xjig/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/games/xjig/Makefile b/games/xjig/Makefile
index 7d729e5d3bc..b5b7fa9a577 100644
--- a/games/xjig/Makefile
+++ b/games/xjig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/12/27 13:37:37 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2010/02/14 22:06:02 joerg Exp $
#
DISTNAME= xjig-2.4
@@ -10,14 +10,17 @@ EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Jigsaw puzzle
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_IMAKE= yes
USE_LANGUAGES= c c++
BUILD_TARGET= xjig all
+INSTALLATION_DIRS+= lib/xjig
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/xjig
- ${INSTALL_DATA} ${WRKSRC}/tina.gif ${PREFIX}/lib/xjig
+ ${INSTALL_DATA} ${WRKSRC}/tina.gif ${DESTDIR}${PREFIX}/lib/xjig
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"