#!/usr/bin/perl
# $FreeBSD$
$PORTSDIR="/usr/ports";
$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];
$DESCR=~s|^\Q$PORT/\E||;
$PORT=~s|`pwd`||;
if($WEBSITE) {
$WEBSITE=" and/or visit the web site for futher informations"
};
if($BUILD_DEPENDS) {
$BUILD_DEPENDS="This port requires package(s) \"$BUILD_DEPENDS\" to build."
};
if($RUN_DEPENDS) {
$RUN_DEPENDS="This port requires package(s) \"$RUN_DEPENDS\" to run."
};
$TOP=$PORT;
$TOP=~s|[^/]+|..|g;
$tmp=$README;
$tmp=~s|%%PKG%%|$PKG|g;
$tmp=~s|%%PORT%%|$PORT|g;
$tmp=~s|%%COMMENT%%|$COMMENT|g;
$tmp=~s|%%DESCR%%|$DESCR|g;
$tmp=~s|%%EMAIL%%|$EMAIL|g;
$tmp=~s|%%WEBSITE%%|$WEBSITE|g;
$tmp=~s|%%BUILD_DEPENDS%%|$BUILD_DEPENDS|g;
$tmp=~s|%%RUN_DEPENDS%%|$RUN_DEPENDS|g;
$tmp=~s|%%TOP%%|$TOP|g;
open F,">$PORT/README.html";
print F $tmp;
close F
}
>
index : freebsd-ports-gnome | |
FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome) | |
| Commit message (Expand) | Author | Age | Files | Lines |
44/cgit/cgit.cgi/freebsd-ports-gnome/commit/net-im/rubygem-xmpp4r?h=mate-1.18&id=66302adf9e4e2ea9c8707407fd324e61ffe7332a'>- giving up port maintainershipclsung | 2007-06-07 | 1 | -1/+1 |
* | - Update to 0.3 | clsung | 2006-07-20 | 3 | -159/+334 |