summaryrefslogtreecommitdiff
path: root/math/javanns
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-19 11:57:31 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-19 11:57:31 +0000
commitb04190b20a685c99feca591448a47740644f85d4 (patch)
tree2e4c8a83365347645114d892d20b60a263149198 /math/javanns
parentUpdate to 7.1.2. (diff)
PERL -> REINPLACE_CMD and portlinted.
Noticed by: bento
Notes
Notes: svn path=/head/; revision=70472
Diffstat (limited to 'math/javanns')
-rw-r--r--math/javanns/Makefile11
-rw-r--r--math/javanns/pkg-descr1
2 files changed, 6 insertions, 6 deletions
diff --git a/math/javanns/Makefile b/math/javanns/Makefile
index 52a6affcccb0..0b327db39db5 100644
--- a/math/javanns/Makefile
+++ b/math/javanns/Makefile
@@ -23,17 +23,18 @@ LIBSDIR?= ${DATADIR}/lib
NO_WRKSUBDIR= yes
NO_BUILD= yes
+USE_REINPLACE= yes
post-extract:
# Permissions in the tar file are whacked
- find ${WRKSRC} -type d -print | xargs chmod 755
- find ${WRKSRC} -type f -print | xargs chmod 644
+ find ${WRKSRC} -type d -print | xargs ${CHMOD} 755
+ find ${WRKSRC} -type f -print | xargs ${CHMOD} 644
do-configure:
${INSTALL_DATA} ${FILESDIR}/javanns.sh ${WRKSRC}
- ${PERL} -p -i -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/javanns.sh
- ${PERL} -p -i -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/javanns.sh
- ${PERL} -p -i -e 's|%%CLASSDIR%%|${CLASSDIR}|g' ${WRKSRC}/javanns.sh
+ ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
+ -e 's|%%DATADIR%%|${DATADIR}|g' \
+ -e 's|%%CLASSDIR%%|${CLASSDIR}|g' ${WRKSRC}/javanns.sh
${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 0755
do-install:
diff --git a/math/javanns/pkg-descr b/math/javanns/pkg-descr
index 5e4aa4c5a8cb..b2e918d6c7ab 100644
--- a/math/javanns/pkg-descr
+++ b/math/javanns/pkg-descr
@@ -3,4 +3,3 @@ around the SNNS kernel, and a Swing-based GUI for building, training and
running neural networks.
WWW: http://www-ra.informatik.uni-tuebingen.de/SNNS/
-