summaryrefslogtreecommitdiff
path: root/cad/gnetlist/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2002-06-01 20:11:55 +0000
committerdmcmahill <dmcmahill>2002-06-01 20:11:55 +0000
commit6afb8198749beaa98363b79a8e476a25879c7c43 (patch)
treecb344f4e2587cba5d66b165b2e0f7617e73d0987 /cad/gnetlist/Makefile
parent85700321df205e96ecde79f651e70a343597e81f (diff)
downloadpkgsrc-6afb8198749beaa98363b79a8e476a25879c7c43.tar.gz
add PKG_SYSCONFDIR/pcb, $HOME/.pcb and . to the search path for PCB m4
files. In addition sinclude the files 'site-config.inc', 'user-config.inc', and 'proj-config.inc' to allow for per-site, per-user, and per-project configuration instead of only per-site configuration. This is essential for use by non-sysadmin users and users who need to keep project specific setups.
Diffstat (limited to 'cad/gnetlist/Makefile')
-rw-r--r--cad/gnetlist/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/cad/gnetlist/Makefile b/cad/gnetlist/Makefile
index 67b51e94a4c..a5f3e5a9431 100644
--- a/cad/gnetlist/Makefile
+++ b/cad/gnetlist/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.10 2002/05/31 15:51:42 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.11 2002/06/01 20:11:55 dmcmahill Exp $
#
DISTNAME= geda-gnetlist-${PKGVERSION}
PKGNAME= gnetlist-${PKGVERSION}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= cad
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/devel/${PKGVERSION}/ \
ftp://ieee.ing.uniroma1.it/pub/geda/devel/${PKGVERSION}/ \
@@ -31,4 +31,10 @@ USE_GMAKE= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+post-patch:
+ ${MV} -f ${WRKSRC}/scheme/gnet-PCBboard.scm ${WRKSRC}/scheme/gnet-PCBboard.scm.bak
+ ${SED} 's;@pcb_confdir@;${PKG_SYSCONFDIR}/pcb;g' \
+ ${WRKSRC}/scheme/gnet-PCBboard.scm.bak > ${WRKSRC}/scheme/gnet-PCBboard.scm
+ ${RM} -f ${WRKSRC}/scheme/gnet-PCBboard.scm.bak
+
.include "../../mk/bsd.pkg.mk"