diff options
author | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
commit | d8368bbc25c90072a19b5e48f0fba26251b6877f (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /cad/gnucap | |
parent | f1b924fda77b6920565e56f54c9391b4dc68f8ca (diff) | |
download | pkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'cad/gnucap')
-rw-r--r-- | cad/gnucap/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cad/gnucap/Makefile b/cad/gnucap/Makefile index af01a2a17ed..21815d2db7d 100644 --- a/cad/gnucap/Makefile +++ b/cad/gnucap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2008/03/10 10:33:38 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= gnucap-2006-07-08 @@ -12,6 +12,7 @@ HOMEPAGE= http://www.gnucap.org/ COMMENT= General purpose circuit simulator PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir CONFLICTS+= gnucap-2006-07-[0-9]* @@ -22,10 +23,11 @@ GNU_CONFIGURE= YES TEX_DEPMOD= build TEX_ACCEPTED= teTeX3 +INSTALLATION_DIRS= share/gnucap/manual/html + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/gnucap/manual/html for f in ${WRKSRC}/man/html/*.html ${WRKSRC}/man/html/*.css ; do \ - ${INSTALL_DATA} $$f ${PREFIX}/share/gnucap/manual/html ; \ + ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/share/gnucap/manual/html ; \ done .include "../../devel/readline/buildlink3.mk" |