summaryrefslogtreecommitdiff
path: root/cad/MyHDL-iverilog
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
commit960171aa995ba9a28a5c49a383750d43281cbc4f (patch)
tree594c159848c0679d80316a52bfc121f8d7c1bf18 /cad/MyHDL-iverilog
parentb98d5450b595b15bf04433f737a91ddd33d9dfae (diff)
downloadpkgsrc-960171aa995ba9a28a5c49a383750d43281cbc4f.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-iverilog')
-rw-r--r--cad/MyHDL-iverilog/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/cad/MyHDL-iverilog/Makefile b/cad/MyHDL-iverilog/Makefile
index c2397496707..0bc256d3f75 100644
--- a/cad/MyHDL-iverilog/Makefile
+++ b/cad/MyHDL-iverilog/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/05/04 16:58:05 drochner Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/03 01:50:26 jlam Exp $
#
DISTNAME= myhdl-0.5.1
@@ -10,11 +10,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://jandecaluwe.com/Tools/MyHDL/Overview.html
COMMENT= Icarus Verilog cosimulation support for py-MyHDL
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_DIRS+= cosimulation/icarus
do-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/ivl
${INSTALL_DATA} ${WRKSRC}/cosimulation/icarus/myhdl.vpi \
- ${PREFIX}/lib/ivl
+ ${DESTDIR}${PREFIX}/lib/ivl
.include "../../cad/verilog/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"