summaryrefslogtreecommitdiff
path: root/emulators/gpsim
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
commit3b0d97b0de8516db29699676c860489da3f7f0e1 (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /emulators/gpsim
parent10abca39942a8f34d088f39ccc073fee44271274 (diff)
downloadpkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz
Add DESTDIR support.
Diffstat (limited to 'emulators/gpsim')
-rw-r--r--emulators/gpsim/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/emulators/gpsim/Makefile b/emulators/gpsim/Makefile
index c7ffe6f731e..0d076b6d34a 100644
--- a/emulators/gpsim/Makefile
+++ b/emulators/gpsim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2006/06/11 14:08:28 joerg Exp $
+# $NetBSD: Makefile,v 1.20 2008/06/20 01:09:18 joerg Exp $
#
DISTNAME= gpsim-0.21.11
@@ -9,6 +9,8 @@ MAINTAINER= snoonan@tbearsiberians.com
HOMEPAGE= http://www.dattalo.com/gnupic/gpsim.html
COMMENT= PIC emulator with X interface
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
@@ -16,10 +18,11 @@ USE_TOOLS+= gmake pkg-config
USE_LIBTOOL= YES
USE_GNU_READLINE= YES
+INSTALLATION_DIRS= share/doc/gpsim
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gpsim
- ${INSTALL_DATA} ${WRKSRC}/doc/gpsim.pdf ${PREFIX}/share/doc/gpsim
- ${INSTALL_DATA} ${WRKSRC}/doc/gpsim.ps ${PREFIX}/share/doc/gpsim
+ ${INSTALL_DATA} ${WRKSRC}/doc/gpsim.pdf ${DESTDIR}${PREFIX}/share/doc/gpsim
+ ${INSTALL_DATA} ${WRKSRC}/doc/gpsim.ps ${DESTDIR}${PREFIX}/share/doc/gpsim
.include "../../devel/popt/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"