summaryrefslogtreecommitdiff
path: root/games/InterLOGIC
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-12 02:14:13 +0000
committerjoerg <joerg>2008-06-12 02:14:13 +0000
commit39d7fb93432416d872ed34e0025741cc93068c06 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /games/InterLOGIC
parentcce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff)
downloadpkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz
Add DESTDIR support.
Diffstat (limited to 'games/InterLOGIC')
-rw-r--r--games/InterLOGIC/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/games/InterLOGIC/Makefile b/games/InterLOGIC/Makefile
index a8020f46cad..8edc2384594 100644
--- a/games/InterLOGIC/Makefile
+++ b/games/InterLOGIC/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/06/12 16:28:07 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/12 02:14:29 joerg Exp $
#
DISTNAME= interLOGIC-src-0.30
@@ -12,15 +12,18 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/interlogic/
COMMENT= Logic/puzzle game based on the old Amiga game "Balls"
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/interlogic
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
+INSTALLATION_DIRS= share/doc/InterLOGIC
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE}
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/InterLOGIC
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"