pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cad/geda-utils Add Python dependency, use tools for ba...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f458f753cf36
branches:  trunk
changeset: 532104:f458f753cf36
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Aug 11 15:09:16 2007 +0000

description:
Add Python dependency, use tools for bash and REPLACE_BASH and
REPLACE_PYTHON. bump revision.

diffstat:

 cad/geda-utils/Makefile |  22 +++++++---------------
 1 files changed, 7 insertions(+), 15 deletions(-)

diffs (52 lines):

diff -r 98dc15a175d6 -r f458f753cf36 cad/geda-utils/Makefile
--- a/cad/geda-utils/Makefile   Sat Aug 11 14:54:07 2007 +0000
+++ b/cad/geda-utils/Makefile   Sat Aug 11 15:09:16 2007 +0000
@@ -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@localhost
@@ -22,33 +23,24 @@
 
 # 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"



Home | Main Index | Thread Index | Old Index