summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-11 15:09:16 +0000
committerjoerg <joerg>2007-08-11 15:09:16 +0000
commitf066d3987dd2111f7688d95b155bd295b0f940e7 (patch)
tree2e713c610b0b352be8e14391a9c7635a7f77d0d6 /cad
parent03eba91613d37f1d1d0f9dca98c3ffeb54208b57 (diff)
downloadpkgsrc-f066d3987dd2111f7688d95b155bd295b0f940e7.tar.gz
Add Python dependency, use tools for bash and REPLACE_BASH and
REPLACE_PYTHON. bump revision.
Diffstat (limited to 'cad')
-rw-r--r--cad/geda-utils/Makefile22
1 files changed, 7 insertions, 15 deletions
diff --git a/cad/geda-utils/Makefile b/cad/geda-utils/Makefile
index e79bcf55fce..3d25f88bc5f 100644
--- a/cad/geda-utils/Makefile
+++ b/cad/geda-utils/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.42 2007/05/31 12:48:33 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.43 2007/08/11 15:09:16 joerg Exp $
#
DISTNAME= geda-utils-${PKGVERSION}
+PKGREVISION= 1
CATEGORIES= cad
MAINTAINER= dmcmahill@NetBSD.org
@@ -22,33 +23,24 @@ USE_TOOLS+= gawk:run lex perl:run pkg-config
# for gnet_hier_verilog.sh. It looks to be fairly bash
# dependent
-DEPENDS+= bash-[0-9]*:../../shells/bash
+USE_TOOLS+= bash:run
# let (f)lex rebuild this file. The distributed one doesn't
# always work.
post-patch:
${RM} -f ${WRKSRC}/src/olib.c
-EVAL_PREFIX+= PYDIR=python
-
-REPLACE_INTERPRETER+= python
-REPLACE.python.old= .*/bin/python
-REPLACE.python.new= ${PYDIR}/bin/python
-REPLACE_FILES.python= scripts/tragesym
-
-EVAL_PREFIX+= BASHDIR=bash
-REPLACE_INTERPRETER+= bash
-REPLACE.bash.old= .*/bin/bash
-REPLACE.bash.new= ${BASHDIR}/bin/bash
-REPLACE_FILES.bash= scripts/gnet_hier_verilog.sh
-
+REPLACE_BASH= scripts/gnet_hier_verilog.sh
+REPLACE_PYTHON= scripts/tragesym
REPLACE_PERL+= scripts/pads_backannotate \
scripts/gschupdate \
scripts/gsymfix.pl \
scripts/gsymupdate \
+ scripts/pcb_backannotate \
scripts/refdes_renum \
scripts/sarlacc_sym
.include "../../cad/libgeda/buildlink3.mk"
.include "../../devel/libgetopt/buildlink3.mk"
+.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"