summaryrefslogtreecommitdiff
path: root/cad/gplcver
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 01:50:26 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 01:50:26 +0000
commit2e614fcea0b247bbc54200c2ed35e943cca37125 (patch)
tree594c159848c0679d80316a52bfc121f8d7c1bf18 /cad/gplcver
parentf61cf6906a47ea29db5a98128c49cd6db98ee0e9 (diff)
downloadpkgsrc-2e614fcea0b247bbc54200c2ed35e943cca37125.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'cad/gplcver')
-rw-r--r--cad/gplcver/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/cad/gplcver/Makefile b/cad/gplcver/Makefile
index ef20a8b652c..4568479770e 100644
--- a/cad/gplcver/Makefile
+++ b/cad/gplcver/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/09/09 02:41:55 obache Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/03 01:50:27 jlam Exp $
#
DISTNAME= gplcver-2.11a.src
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pragmatic-c.com/gpl-cver/
COMMENT= Verilog simulator
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_DIRS= src
MAKE_FILE= makefile.freebsd
BUILDLINK_LIBS.dl= ${BUILDLINK_LDADD.dl}
@@ -18,8 +20,9 @@ BUILDLINK_LIBS.dl= ${BUILDLINK_LDADD.dl}
.include "../../mk/dlopen.buildlink3.mk"
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/cver ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/gplcver/pli_incs
- ${INSTALL_DATA} ${WRKSRC}/pli_incs/*.h ${PREFIX}/lib/gplcver/pli_incs
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/cver ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/gplcver/pli_incs
+ ${INSTALL_DATA} ${WRKSRC}/pli_incs/*.h \
+ ${DESTDIR}${PREFIX}/lib/gplcver/pli_incs
.include "../../mk/bsd.pkg.mk"