summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2011-08-12 06:56:44 +0000
committerehaupt <ehaupt@FreeBSD.org>2011-08-12 06:56:44 +0000
commitb1459e80a7b5fa5a4998978c017c9f84803acbda (patch)
tree4d63f0f199103026bab9c2e95a324f4fe4f4d3a7 /Tools
parent8d3d4cb657335e6167c55fab69308fbd7c6b0c02 (diff)
downloadFreeBSD-ports-b1459e80a7b5fa5a4998978c017c9f84803acbda.zip
FreeBSD-ports-b1459e80a7b5fa5a4998978c017c9f84803acbda.tar.gz
Fix readme building.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/make_readmes20
1 files changed, 10 insertions, 10 deletions
diff --git a/Tools/make_readmes b/Tools/make_readmes
index 089bc99..c6e78e6 100644
--- a/Tools/make_readmes
+++ b/Tools/make_readmes
@@ -6,16 +6,16 @@ $TEMPLATES=$ENV{TEMPLATES} || "${PORTSDIR}/Templates";
$README=`cat ${TEMPLATES}/README.port`;
while(<>) {
- split '\|';
-
- $PKG=$_[0];
- $PORT=$_[1];
- $COMMENT=$_[3];
- $DESCR=$_[4];
- $EMAIL=$_[5];
- $BUILD_DEPENDS=$_[7];
- $RUN_DEPENDS=$_[8];
- $WEBSITE=$_[9];
+ (@F)=split(/\|/, $_);
+ $PKG=$F[0];
+ $PORT=$F[1];
+ $COMMENT=$F[3];
+ $DESCR=$F[4];
+ $EMAIL=$F[5];
+ $BUILD_DEPENDS=$F[7];
+ $RUN_DEPENDS=$F[8];
+ $WEBSITE=$F[9];
+
$DESCR=~s|^\Q$PORT/\E||;
$PORT=~s|`pwd`||;
OpenPOWER on IntegriCloud