summaryrefslogtreecommitdiff
path: root/cad/gnetlist/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2005-08-23 00:02:19 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2005-08-23 00:02:19 +0000
commitfd2b143ac5963d05e631c93495ce527b9111696c (patch)
tree9dae5cc48710226f78ed4ca7794a4a8415006f84 /cad/gnetlist/Makefile
parent5e2f6722fb5b8293c404034ddb0f1dfd01960979 (diff)
downloadpkgsrc-fd2b143ac5963d05e631c93495ce527b9111696c.tar.gz
update to 20050820 snapshot.
Major changes since the last snapshot: - gsch2pcb updated to work with latest pcb - pcb library directories default to something sane for gsch2pcb - grenum utility for refdes renumbering added - add a few new symbols - added -p option to autoplace the windows. Useful for scripting. - gattrib can now change attribute visibility - improvements to the spice-sdb netlist backend - added support for printing pictures in schematics to postscript - added german translation - fixed a segfault in the geda manager.
Diffstat (limited to 'cad/gnetlist/Makefile')
-rw-r--r--cad/gnetlist/Makefile20
1 files changed, 6 insertions, 14 deletions
diff --git a/cad/gnetlist/Makefile b/cad/gnetlist/Makefile
index ccf7eeef17c..b72888f0a01 100644
--- a/cad/gnetlist/Makefile
+++ b/cad/gnetlist/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2005/08/10 20:56:12 jlam Exp $
+# $NetBSD: Makefile,v 1.36 2005/08/23 00:02:20 dmcmahill Exp $
#
DISTNAME= geda-gnetlist-${PKGVERSION}
@@ -10,8 +10,6 @@ HOMEPAGE= http://www.geda.seul.org/
COMMENT= Netlist generation program
DEPENDS+= geda-symbols-${PKGVERSION}:../../cad/geda-symbols
-# needs GNU m4 for the PCBboard netlister
-USE_TOOLS+= gm4:run pkg-config
.include "../../cad/geda/Makefile.common"
@@ -19,20 +17,14 @@ CONFLICTS+= gEDA<19991011
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
-USE_TOOLS+= gmake pkg-config
+
+# needs GNU m4 for the PCBboard and gsch2pcb netlisters
+USE_TOOLS+= gmake m4:run pkg-config
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
EVAL_PREFIX+= PCBDIR=pcb
-
-post-patch:
-.for f in gnet-PCBboard.scm gnet-gsch2pcb.scm
- ${MV} -f ${WRKSRC}/scheme/${f} ${WRKSRC}/scheme/${f}.bak
- ${SED} -e 's;@M4@;${TOOLS_M4:Q};g' \
- -e 's;@pcb_confdir@;${PKG_SYSCONFDIR}/pcb;g' \
- -e 's;@pcb_m4dir@;${PCBDIR}/share/pcb/m4;g' \
- ${WRKSRC}/scheme/${f}.bak > ${WRKSRC}/scheme/${f}
- ${RM} -f ${WRKSRC}/scheme/${f}.bak
-.endfor
+CONFIGURE_ARGS+= --with-pcbm4dir=${PCBDIR}/share/pcb/m4
+CONFIGURE_ARGS+= --with-pcbconfdir=${PKG_SYSCONFDIR}/pcb
.include "../../cad/libgeda/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"