summaryrefslogtreecommitdiff
path: root/cad/MyHDL-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/MyHDL-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/MyHDL-gplcver')
-rw-r--r--cad/MyHDL-gplcver/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/cad/MyHDL-gplcver/Makefile b/cad/MyHDL-gplcver/Makefile
index a417691ecf7..bc492677379 100644
--- a/cad/MyHDL-gplcver/Makefile
+++ b/cad/MyHDL-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:26 jlam Exp $
#
DISTNAME= myhdl-0.5.1
@@ -10,12 +10,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://jandecaluwe.com/Tools/MyHDL/Overview.html
COMMENT= GPL Cver cosimulation support for py-MyHDL
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_DIRS+= cosimulation/cver
MAKE_FILE= makefile.lnx
do-install:
+ ${INSTALL_LIB_DIR} ${DESTDIR}${PREFIX}/lib/gplcver
${INSTALL_DATA} ${WRKSRC}/cosimulation/cver/myhdl_vpi.so \
- ${PREFIX}/lib/gplcver
+ ${DESTDIR}${PREFIX}/lib/gplcver
.include "../../cad/gplcver/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"