ports/165631: New port: ports-mgmt/mkreadmes, a speedy alternative to "make readmes"
Conrad J. Sabatier
conrads at cox.net
Fri Mar 2 17:10:08 UTC 2012
>Number: 165631
>Category: ports
>Synopsis: New port: ports-mgmt/mkreadmes, a speedy alternative to "make readmes"
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 02 17:10:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Conrad J. Sabatier
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD serene.no-ip.org 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sun Feb 12 19:15:46 CST 2012 conrads at serene.no-ip.org:/usr/obj/usr/src/sys/CUSTOM amd64
>Description:
New port submission for: ports-mgmt/mkreadmes
Mkreadmes is designed to be a very fast, flexible and easy-to-use
alternative to the standard "make readmes" for building the
README.html files for the FreeBSD Ports Collection, building the
files in a fraction of the time of the standard method.
(Submitter is all the program's author, if you have any
questions, comments or suggestions about the program)
>How-To-Repeat:
N/A
>Fix:
port's shar file below
--- mkreadmes.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# mkreadmes
# mkreadmes/Makefile
# mkreadmes/pkg-message
# mkreadmes/distinfo
# mkreadmes/pkg-descr
# mkreadmes/pkg-plist
#
echo c - mkreadmes
mkdir -p mkreadmes > /dev/null 2>&1
echo x - mkreadmes/Makefile
sed 's/^X//' >mkreadmes/Makefile << 'a62cad250290cdd9c7b64272759bb24a'
X# New ports collection makefile for: mkreadmes
X# Date created: 2012-03-01
X# Whom: Conrad J. Sabatier <conrads at cox.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= mkreadmes
XDISTVERSION= 1.0
XCATEGORIES= ports-mgmt
XMASTER_SITES= SF
XMASTER_SITE_SUBDIR= ${PORTNAME}
X
XMAINTAINER= conrads at cox.net
XCOMMENT= A speedy substitute for "make readmes"
X
XUSE_BZIP2= yes
X
Xpost-extract:
X# adjust definition of PREFIX in mkreadmes.h only if it differs from
X# the current setting of ${PREFIX}
X @${EGREP} -q '^#define[[:space:]]+PREFIX[[:space:]]+"${PREFIX}"' \
X ${WRKSRC}/mkreadmes.h || \
X ${REINPLACE_CMD} -Ee \
X 's|^(#define[[:space:]]+PREFIX[[:space:]]+)\"[^"]+\"|\1"${PREFIX}"|' \
X ${WRKSRC}/mkreadmes.h
X
X# adjust reference to ${PREFIX} in usage() function's description of
X# the "-t pathname" option only if it differs from the current setting
X# of ${PREFIX}
X @${EGREP} -q 'default ${PREFIX}' ${WRKSRC}/main.c || \
X ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/main.c
X
Xpost-install:
X @${CAT} pkg-message
X
X.include <bsd.port.mk>
a62cad250290cdd9c7b64272759bb24a
echo x - mkreadmes/pkg-message
sed 's/^X//' >mkreadmes/pkg-message << '377a49f1ad86126c609e49c741083f92'
X
XFor full description and usage information, see the file
X"${PREFIX}/share/mkreadmes/README", or type "mkreadmes -h"
Xfor help (sorry, no man page).
X
377a49f1ad86126c609e49c741083f92
echo x - mkreadmes/distinfo
sed 's/^X//' >mkreadmes/distinfo << 'c90f2bb7b4fc708682becb76ed14cb66'
XSHA256 (mkreadmes-1.0.tar.bz2) = 244fbcbb19a852238797e12dc7a1d7e398f908e53315aa856540e1e635a231af
XSIZE (mkreadmes-1.0.tar.bz2) = 14904
c90f2bb7b4fc708682becb76ed14cb66
echo x - mkreadmes/pkg-descr
sed 's/^X//' >mkreadmes/pkg-descr << 'c76d6fa186d893934e4ceb0129153829'
XMkreadmes is designed to be a very fast, flexible and easy-to-use alternative
Xto the standard "make readmes" for building the README.html files for the
XFreeBSD Ports Collection, building the files in a fraction of the time of the
Xstandard method.
c76d6fa186d893934e4ceb0129153829
echo x - mkreadmes/pkg-plist
sed 's/^X//' >mkreadmes/pkg-plist << '03683ef8366572f4b0c15d644a2ebb00'
Xsbin/mkreadmes
Xshare/mkreadmes/README
Xshare/mkreadmes/Templates/README.category
Xshare/mkreadmes/Templates/README.port
Xshare/mkreadmes/Templates/README.top
X at dirrm share/mkreadmes/Templates
X at dirrm share/mkreadmes
03683ef8366572f4b0c15d644a2ebb00
exit
--- mkreadmes.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list