diff options
Diffstat (limited to 'cad/gnetlist/Makefile')
-rw-r--r-- | cad/gnetlist/Makefile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/cad/gnetlist/Makefile b/cad/gnetlist/Makefile index 3627d739623..fdb17297ae3 100644 --- a/cad/gnetlist/Makefile +++ b/cad/gnetlist/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2003/07/17 21:25:01 grant Exp $ +# $NetBSD: Makefile,v 1.21 2003/09/10 23:43:35 dmcmahill Exp $ # DISTNAME= geda-gnetlist-${PKGVERSION} @@ -13,27 +13,31 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://www.geda.seul.org/ COMMENT= Netlist generation program -DIST_SUBDIR= geda -PKGVERSION= 20030525 - DEPENDS+= geda-symbols-${PKGVERSION}:../../cad/geda-symbols # needs GNU m4 for the PCBboard netlister DEPENDS+= m4>=1.4:../../devel/m4 +DIST_SUBDIR= geda +PKGVERSION= 20030901 + CONFLICTS+= gEDA<19991011 GNU_CONFIGURE= YES -USE_X11BASE= YES USE_LIBTOOL= YES USE_GMAKE= YES USE_BUILDLINK2= YES LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +EVAL_PREFIX+= PCBDIR=pcb + 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 +.for f in gnet-PCBboard.scm gnet-gsch2pcb.scm + ${MV} -f ${WRKSRC}/scheme/${f} ${WRKSRC}/scheme/${f}.bak + ${SED} -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 .include "../../cad/libgeda/buildlink2.mk" .include "../../mk/bsd.pkg.mk" |