diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-19 19:57:31 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-19 19:57:31 +0800 |
commit | d274abbbace28d17779f0e1e37702e08a0005883 (patch) | |
tree | 110841292b2f2e9307fe83a88e2cf2ca0e2add44 /math | |
parent | e22947564f264f0dda88cbcc52755950a2d4b98c (diff) | |
download | freebsd-ports-gnome-d274abbbace28d17779f0e1e37702e08a0005883.tar.gz freebsd-ports-gnome-d274abbbace28d17779f0e1e37702e08a0005883.tar.zst freebsd-ports-gnome-d274abbbace28d17779f0e1e37702e08a0005883.zip |
PERL -> REINPLACE_CMD and portlinted.
Noticed by: bento
Diffstat (limited to 'math')
-rw-r--r-- | math/javanns/Makefile | 11 | ||||
-rw-r--r-- | math/javanns/pkg-descr | 1 |
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/ - |