summaryrefslogtreecommitdiff
path: root/games/xjig
diff options
context:
space:
mode:
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"