diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | ba171a91fab519f587b027c1a2888cb6e3fce049 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /cad/vipec | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'cad/vipec')
-rw-r--r-- | cad/vipec/Makefile | 11 | ||||
-rw-r--r-- | cad/vipec/distinfo | 4 | ||||
-rw-r--r-- | cad/vipec/patches/patch-aa | 4 |
3 files changed, 11 insertions, 8 deletions
diff --git a/cad/vipec/Makefile b/cad/vipec/Makefile index 616962e1704..3eb6d8c3960 100644 --- a/cad/vipec/Makefile +++ b/cad/vipec/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.48 2006/05/26 18:09:57 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.49 2008/06/12 02:14:16 joerg Exp $ # DISTNAME= ViPEC-3.2.0 @@ -10,19 +10,22 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://vipec.sourceforge.net/ COMMENT= Network analyser for electrical networks +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c++ USE_TOOLS+= gmake UNLIMIT_RESOURCES+= datasize +INSTALLATION_DIRS= bin CONFLICTS+= vipec-[0-9]* post-patch: ${SED} 's;@prefix@;${PREFIX};g' < ${FILESDIR}/vipec.sh.in > ${WRKDIR}/vipec.sh post-install: - ${INSTALL_SCRIPT} ${WRKDIR}/vipec.sh ${PREFIX}/bin/vipec - ${INSTALL_DATA} ${WRKSRC}/vipec.cfg ${PREFIX}/vipec - ${RM} -fr ${PREFIX}/vipec/*/CVS ${PREFIX}/vipec/help/models/CVS + ${INSTALL_SCRIPT} ${WRKDIR}/vipec.sh ${DESTDIR}${PREFIX}/bin/vipec + ${INSTALL_DATA} ${WRKSRC}/vipec.cfg ${DESTDIR}${PREFIX}/vipec + ${RM} -fr ${DESTDIR}${PREFIX}/vipec/*/CVS ${DESTDIR}${PREFIX}/vipec/help/models/CVS .include "../../x11/qt3-libs/buildlink3.mk" .include "../../x11/qt3-tools/buildlink3.mk" diff --git a/cad/vipec/distinfo b/cad/vipec/distinfo index 5f21ace20b9..5de5e33bb41 100644 --- a/cad/vipec/distinfo +++ b/cad/vipec/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.10 2006/05/31 10:25:24 joerg Exp $ +$NetBSD: distinfo,v 1.11 2008/06/12 02:14:16 joerg Exp $ SHA1 (ViPEC-3.2.0.tar.gz) = 022bdd49effb22a64bf3da25ec1e48a072228ddf RMD160 (ViPEC-3.2.0.tar.gz) = b2452324b78e29bf7a33c7e5cf83116bf9a0550c Size (ViPEC-3.2.0.tar.gz) = 191819 bytes -SHA1 (patch-aa) = 55ddfbddc0c7206961ed16a3ea242c1e0d285ec6 +SHA1 (patch-aa) = f5578ad15c6c6a9c47cc1064daf1b15de10c02c6 SHA1 (patch-ab) = 6158ee0b5f767065828be8582cdcc574d729a132 SHA1 (patch-ac) = 4a8dcc7bc73e56b5cf79e0b9f9e205b03c9c2263 SHA1 (patch-ad) = 2fba5db87866b6dbdc3f75409cc5430f04363325 diff --git a/cad/vipec/patches/patch-aa b/cad/vipec/patches/patch-aa index 6323603eea9..db5ccffbc58 100644 --- a/cad/vipec/patches/patch-aa +++ b/cad/vipec/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.12 2005/02/11 04:09:20 dmcmahill Exp $ +$NetBSD: patch-aa,v 1.13 2008/06/12 02:14:16 joerg Exp $ --- Makefile.orig 2003-10-03 01:39:34.000000000 +0000 +++ Makefile @@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.12 2005/02/11 04:09:20 dmcmahill Exp $ SOURCEPATH = `pwd` VERSION = 3.2.0 -INSTALLDIR = $(PREFIX)/opt/vipec -+INSTALLDIR = $(PREFIX)/vipec ++INSTALLDIR = ${DESTDIR}$(PREFIX)/vipec ICONFILE = vipec.gif export VERSION |