diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /cad/gdsreader/Makefile | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'cad/gdsreader/Makefile')
-rw-r--r-- | cad/gdsreader/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/cad/gdsreader/Makefile b/cad/gdsreader/Makefile index 4357a8eb8a2..88e8227310c 100644 --- a/cad/gdsreader/Makefile +++ b/cad/gdsreader/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2006/03/04 21:29:01 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= GDSreader.0.3 @@ -12,10 +12,11 @@ COMMENT= GDS-II stream file to Postscript and HP/GL converter EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAME} +INSTALLATION_DIRS= bin ${EXAMPLESDIR} + post-install: - ${INSTALL_DATA_DIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/test.gds ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/layers.config ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/test.gds ${DESTDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/layers.config ${DESTDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${EXAMPLESDIR} .include "../../mk/bsd.pkg.mk" |