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 | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'cad')
-rw-r--r-- | cad/atlc/Makefile | 11 | ||||
-rw-r--r-- | cad/cascade/Makefile | 6 | ||||
-rw-r--r-- | cad/gdsreader/Makefile | 11 | ||||
-rw-r--r-- | cad/gdsreader/distinfo | 4 | ||||
-rw-r--r-- | cad/gdsreader/patches/patch-aa | 4 | ||||
-rw-r--r-- | cad/geda-examples/Makefile | 4 | ||||
-rw-r--r-- | cad/geda-symbols/Makefile | 4 | ||||
-rw-r--r-- | cad/geda-utils/Makefile | 4 | ||||
-rw-r--r-- | cad/geda/Makefile | 4 | ||||
-rw-r--r-- | cad/gerbv/Makefile | 3 | ||||
-rw-r--r-- | cad/gnetlist/Makefile | 4 | ||||
-rw-r--r-- | cad/gnetman/Makefile | 4 | ||||
-rw-r--r-- | cad/gnucap/Makefile | 8 | ||||
-rw-r--r-- | cad/gschem/Makefile | 4 | ||||
-rw-r--r-- | cad/gsmc/Makefile | 3 | ||||
-rw-r--r-- | cad/gsymcheck/Makefile | 4 | ||||
-rw-r--r-- | cad/ng-spice/Makefile | 4 | ||||
-rw-r--r-- | cad/tkgate/Makefile | 4 | ||||
-rw-r--r-- | cad/transcalc/Makefile | 4 |
19 files changed, 63 insertions, 31 deletions
diff --git a/cad/atlc/Makefile b/cad/atlc/Makefile index c6052f57bef..d1201d3ac58 100644 --- a/cad/atlc/Makefile +++ b/cad/atlc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2005/06/15 02:21:03 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.12 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= atlc-4.6.0 @@ -10,6 +10,8 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://atlc.sourceforge.net/ COMMENT= Calculates the impedance of arbitrary cross section transmission lines +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES # note: the check target builds some of the # example files which get installed. @@ -17,9 +19,10 @@ BUILD_TARGET= all check TEST_DIRS= ${WRKSRC} TEST_TARGET= check +INSTALLATION_DIRS= share/examples/atlc + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/atlc - ${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/atlc - ${RM} -f ${PREFIX}/share/examples/atlc/Makefile + ${INSTALL_DATA} ${WRKSRC}/examples/* ${DESTDIR}${PREFIX}/share/examples/atlc + ${RM} -f ${DESTDIR}${PREFIX}/share/examples/atlc/Makefile .include "../../mk/bsd.pkg.mk" diff --git a/cad/cascade/Makefile b/cad/cascade/Makefile index b5fd022f396..a195cdfda76 100644 --- a/cad/cascade/Makefile +++ b/cad/cascade/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2005/10/31 18:22:14 tv Exp $ +# $NetBSD: Makefile,v 1.8 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= cascade-1.4 @@ -11,7 +11,11 @@ HOMEPAGE= http://rfcascade.sourceforge.net/ COMMENT= Simple tool to analyze noise and distortion of a RF system PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= YES +INSTALL_MAKE_FLAGS= prefix=${DESTDIR}${PREFIX} \ + mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} + .include "../../mk/bsd.pkg.mk" 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" diff --git a/cad/gdsreader/distinfo b/cad/gdsreader/distinfo index 941812a6134..27c73dc55b4 100644 --- a/cad/gdsreader/distinfo +++ b/cad/gdsreader/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 14:59:24 agc Exp $ +$NetBSD: distinfo,v 1.3 2008/06/20 01:09:08 joerg Exp $ SHA1 (GDSreader.0.3.tar.gz) = a3ed81812e37011b648f373bae0bce62b9a5a8ac RMD160 (GDSreader.0.3.tar.gz) = d91805a734810e70494c93ac125d524f4d0110ff Size (GDSreader.0.3.tar.gz) = 68272 bytes -SHA1 (patch-aa) = a25780e60636fdbbbbac382d8b602ad840508463 +SHA1 (patch-aa) = 38c47d46b74403efa272d8023983689bb932b5e8 diff --git a/cad/gdsreader/patches/patch-aa b/cad/gdsreader/patches/patch-aa index f89d15faa31..faf7c52b468 100644 --- a/cad/gdsreader/patches/patch-aa +++ b/cad/gdsreader/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2002/12/14 02:18:25 dmcmahill Exp $ +$NetBSD: patch-aa,v 1.2 2008/06/20 01:09:08 joerg Exp $ --- Makefile.orig Thu Apr 8 01:39:45 1999 +++ Makefile @@ -20,7 +20,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/12/14 02:18:25 dmcmahill Exp $ +all: gdsreader + +install: gdsreader -+ ${BSD_INSTALL_PROGRAM} gdsreader ${PREFIX}/bin ++ ${BSD_INSTALL_PROGRAM} gdsreader ${DESTDIR}${PREFIX}/bin gdsreader: ${OBJS} ${CC} ${LDFLAGS} -o gdsreader ${OBJS} -lm diff --git a/cad/geda-examples/Makefile b/cad/geda-examples/Makefile index 39273a51ac0..dc1a63def75 100644 --- a/cad/geda-examples/Makefile +++ b/cad/geda-examples/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2008/04/03 13:22:06 joerg Exp $ +# $NetBSD: Makefile,v 1.20 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= geda-examples-${PKGVERSION} @@ -10,7 +10,7 @@ COMMENT= Examples for gEDA CONFLICTS+= gEDA<19991011 -PKG_DESTDIR_SUPPORT= destdir +PKG_DESTDIR_SUPPORT= user-destdir .include "../../cad/geda/Makefile.common" diff --git a/cad/geda-symbols/Makefile b/cad/geda-symbols/Makefile index e22aac9736b..484e9b1cf88 100644 --- a/cad/geda-symbols/Makefile +++ b/cad/geda-symbols/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2006/09/01 12:00:43 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.21 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= geda-symbols-${PKGVERSION} @@ -8,6 +8,8 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://www.geda.seul.org/ COMMENT= Library of symbols for gEDA +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS+= gEDA<19991011 .include "../../cad/geda/Makefile.common" diff --git a/cad/geda-utils/Makefile b/cad/geda-utils/Makefile index 533e3749120..e38e9afe7b8 100644 --- a/cad/geda-utils/Makefile +++ b/cad/geda-utils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2008/02/01 02:34:23 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.45 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= geda-utils-${PKGVERSION} @@ -8,6 +8,8 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://www.geda.seul.org/ COMMENT= Set of utilities for gEDA +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_DEPENDS+= geda-symbols-${PKGVERSION}{,nb[0-9]*}:../../cad/geda-symbols CONFLICTS+= gEDA<19991011 diff --git a/cad/geda/Makefile b/cad/geda/Makefile index 1e3204863c5..d09d50a63b3 100644 --- a/cad/geda/Makefile +++ b/cad/geda/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.53 2007/10/25 22:00:40 jlam Exp $ +# $NetBSD: Makefile,v 1.54 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= geda-${PKGVERSION} @@ -9,6 +9,8 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://www.geda.seul.org/ COMMENT= Toolset for automating electronic design +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= gattrib-${PKGVERSION}{,nb[0-9]*}:../../cad/gattrib DEPENDS+= gschem-${PKGVERSION}{,nb[0-9]*}:../../cad/gschem DEPENDS+= gnetlist-${PKGVERSION}{,nb[0-9]*}:../../cad/gnetlist diff --git a/cad/gerbv/Makefile b/cad/gerbv/Makefile index ee092aa8651..b1a83de165a 100644 --- a/cad/gerbv/Makefile +++ b/cad/gerbv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2008/02/18 22:40:36 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.33 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= gerbv-2.0.1 @@ -10,6 +10,7 @@ HOMEPAGE= http://gerbv.sourceforge.net/ COMMENT= Gerber file viewer PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= YES USE_TOOLS+= gmake pkg-config diff --git a/cad/gnetlist/Makefile b/cad/gnetlist/Makefile index 0d514bc5b41..2c53eced9d7 100644 --- a/cad/gnetlist/Makefile +++ b/cad/gnetlist/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2007/02/22 19:26:10 wiz Exp $ +# $NetBSD: Makefile,v 1.45 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= geda-gnetlist-${PKGVERSION} @@ -9,6 +9,8 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://www.geda.seul.org/ COMMENT= Netlist generation program +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= geda-symbols-${PKGVERSION}{,nb[0-9]*}:../../cad/geda-symbols .include "../../cad/geda/Makefile.common" diff --git a/cad/gnetman/Makefile b/cad/gnetman/Makefile index 82e8a477cfc..a7a97aad65a 100644 --- a/cad/gnetman/Makefile +++ b/cad/gnetman/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2006/02/05 23:08:21 joerg Exp $ +# $NetBSD: Makefile,v 1.7 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= gnetman-11Feb05 @@ -11,6 +11,8 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://www.viasic.com/opensource/ COMMENT= Advanced Netlister and Netlist Manipulation Database for gEDA +PKG_DESTDIR_SUPPORT= user-destdir + USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes 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" diff --git a/cad/gschem/Makefile b/cad/gschem/Makefile index 04bffdb07aa..dc580115278 100644 --- a/cad/gschem/Makefile +++ b/cad/gschem/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2008/02/01 02:34:22 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.45 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= geda-gschem-${PKGVERSION} @@ -9,6 +9,8 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://www.geda.seul.org/ COMMENT= Schematic capture tool +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= geda-symbols-${PKGVERSION}{,nb[0-9]*}:../../cad/geda-symbols DEPENDS+= gettext-tools>=0.14.6:../../devel/gettext-tools diff --git a/cad/gsmc/Makefile b/cad/gsmc/Makefile index d9620cd354b..23879b78ddd 100644 --- a/cad/gsmc/Makefile +++ b/cad/gsmc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/04/17 13:46:17 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= gsmc-1.1 @@ -11,6 +11,7 @@ HOMEPAGE= http://www.qsl.net/ik5nax/ COMMENT= Smith charting program PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= YES USE_TOOLS+= gmake pkg-config diff --git a/cad/gsymcheck/Makefile b/cad/gsymcheck/Makefile index e3aa56d8183..6e43b1d3135 100644 --- a/cad/gsymcheck/Makefile +++ b/cad/gsymcheck/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2006/09/01 12:00:43 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.35 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= geda-gsymcheck-${PKGVERSION} @@ -9,6 +9,8 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://www.geda.seul.org/ COMMENT= EDA (Electronic Design Automation) symbol checker +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= geda-symbols-${PKGVERSION}{,nb[0-9]*}:../../cad/geda-symbols CONFLICTS+= gEDA<19991011 diff --git a/cad/ng-spice/Makefile b/cad/ng-spice/Makefile index bc94d818d14..ecb1ad60cfc 100644 --- a/cad/ng-spice/Makefile +++ b/cad/ng-spice/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2007/01/30 19:48:47 joerg Exp $ +# $NetBSD: Makefile,v 1.35 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= ng-spice-rework-17 @@ -11,6 +11,8 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://ngspice.sourceforge.net/ COMMENT= Next generation circuit simulation program +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/ng-spice-rework-17 USE_LIBTOOL= YES USE_TOOLS+= gmake makeinfo diff --git a/cad/tkgate/Makefile b/cad/tkgate/Makefile index 3a0e56b0033..1847e3d10cd 100644 --- a/cad/tkgate/Makefile +++ b/cad/tkgate/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2007/01/20 01:47:00 rillig Exp $ +# $NetBSD: Makefile,v 1.24 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= tkgate-1.6i @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.tkgate.org/ COMMENT= Tcl/Tk based digital circuit editor and simulator +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_DEPENDS+= bison>=1.35:../../devel/bison BUILD_DEPENDS+= libiconv-[0-9]*:../../converters/libiconv diff --git a/cad/transcalc/Makefile b/cad/transcalc/Makefile index cf61195b7d4..ba451cefb30 100644 --- a/cad/transcalc/Makefile +++ b/cad/transcalc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/04/17 13:46:18 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= transcalc-0.14 @@ -11,6 +11,8 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://transcalc.sourceforge.net/ COMMENT= Transmission line analysis/synthesis +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES USE_TOOLS+= gmake pkg-config |