summaryrefslogtreecommitdiff
path: root/cad/MyHDL-gplcver
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 01:50:26 +0000
committerjlam <jlam>2008-03-03 01:50:26 +0000
commitb5039a1a4c787f67dc3f15e83575b6e33b1f05cf (patch)
tree594c159848c0679d80316a52bfc121f8d7c1bf18 /cad/MyHDL-gplcver
parent456f42e79b453ab8ccfea39b2c5c3f50c1fd0acb (diff)
downloadpkgsrc-b5039a1a4c787f67dc3f15e83575b6e33b1f05cf.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"