summaryrefslogtreecommitdiff
path: root/cad/gnucap
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-20 01:09:05 +0000
committerjoerg <joerg>2008-06-20 01:09:05 +0000
commit7d15c2c527b0cb171788f5360a5baca8cd9db73e (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /cad/gnucap
parent534b5bd9ce0ca747418c84f41f29a7fd1e7121a2 (diff)
downloadpkgsrc-7d15c2c527b0cb171788f5360a5baca8cd9db73e.tar.gz
Add DESTDIR support.
Diffstat (limited to 'cad/gnucap')
-rw-r--r--cad/gnucap/Makefile8
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"