diff options
author | jlam <jlam> | 2008-03-03 01:50:26 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 01:50:26 +0000 |
commit | b5039a1a4c787f67dc3f15e83575b6e33b1f05cf (patch) | |
tree | 594c159848c0679d80316a52bfc121f8d7c1bf18 /cad/gplcver | |
parent | 456f42e79b453ab8ccfea39b2c5c3f50c1fd0acb (diff) | |
download | pkgsrc-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/gplcver')
-rw-r--r-- | cad/gplcver/Makefile | 11 |
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" |