aboutsummaryrefslogtreecommitdiff
path: root/cad/geda-utils
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2009-02-21 11:43:23 +0000
committerStanislav Sedov <stas@FreeBSD.org>2009-02-21 11:43:23 +0000
commit98130c3c16717c3337634ac1e924b9dd4e3df27f (patch)
tree16a2733a669c0bbe164aa8b881df9d60a67de753 /cad/geda-utils
parent5f6ba2a345062d46d2e16bd1d6c5854e528a096e (diff)
downloadports-98130c3c16717c3337634ac1e924b9dd4e3df27f.tar.gz
ports-98130c3c16717c3337634ac1e924b9dd4e3df27f.zip
Notes
Diffstat (limited to 'cad/geda-utils')
-rw-r--r--cad/geda-utils/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/cad/geda-utils/Makefile b/cad/geda-utils/Makefile
index 338d1bd75c18..743e8f49b9f5 100644
--- a/cad/geda-utils/Makefile
+++ b/cad/geda-utils/Makefile
@@ -7,6 +7,7 @@
PORTNAME= utils
PORTVERSION= 1.4.3
+PORTEPOCH= 1
CATEGORIES= cad
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.4/${PORTVERSION}/ \
http://geda.seul.org/release/v1.4/${PORTVERSION}/
@@ -25,6 +26,8 @@ DATADIR= ${PREFIX}/share/geda
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= gtk20
+USE_PERL5_RUN= yes
+USE_PYTHON_RUN= yes
CONFIGURE_ARGS= --with-docdir=${DOCSDIR}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@@ -35,5 +38,9 @@ post-patch:
@${REINPLACE_CMD} -E \
-e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \
${WRKSRC}/configure
+ @${REINPLACE_CMD} -E \
+ -e "s,^(#!)/usr/bin/perl,\1${PERL}," \
+ -e "s,^(#!)/usr/bin/python,\1${PYTHON_CMD}," \
+ ${WRKSRC}/scripts/*
.include <bsd.port.mk>