ports/83119: new port: games/filters - A collection of filters, including B1FF and the Swedish Chef

Emanuel Haupt ehaupt at critical.ch
Fri Jul 8 00:10:21 UTC 2005


>Number:         83119
>Category:       ports
>Synopsis:       new port: games/filters - A collection of filters, including B1FF and the Swedish Chef
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 08 00:10:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Emanuel Haupt
>Release:        FreeBSD 5.4-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD beaver.critical.ch 5.4-RELEASE-p4 FreeBSD 5.4-RELEASE-p4 #0: Wed Jul  6 20:05:27 CEST 2005 root at beaver.critical.ch:/usr/obj/usr/src-release/src/sys/BEAVER i386


	
>Description:
new port: games/filters - A collection of filters, including B1FF and the Swedish Chef

A collection of command line filters, including B1FF and the Swedish Chef.
No personal, racial, societal slurs are intended. For amusement only.

All the filters read input from stdin, change it, and write the filtered
text to stdout.


>How-To-Repeat:
	
>Fix:

	



--- filters.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:
#
#	filters
#	filters/Makefile
#	filters/pkg-descr
#	filters/distinfo
#	filters/pkg-plist
#
echo c - filters
mkdir -p filters > /dev/null 2>&1
echo x - filters/Makefile
sed 's/^X//' >filters/Makefile << 'END-of-filters/Makefile'
X# New ports collection makefile for:	filters
X# Date created:				7 Jul 2005
X# Whom:					Emanuel Haupt <ehaupt at critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	filters
XPORTVERSION=	2.34
XCATEGORIES=	games perl5
XMASTER_SITES=	http://ftp.debian.org/debian/pool/main/f/filters/
XDISTNAME=	${PORTNAME}_${PORTVERSION}
X
XMAINTAINER=	ehaupt at critical.ch
XCOMMENT=	A collection of filters, including B1FF and the Swedish Chef
X
XUSE_PERL5=	yes
XUSE_REINPLACE=	yes
XUSE_GMAKE=	yes
X
XALL_TARGET+=	samples
XCFLAGS+=	-lfl
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
XPERLFILTERS=	b1ff censor chef eleet fudd jibberish rasterman \
X		spammer studly uniencode upside-down
XCFILTERS=	jethro kraut cockney jive nyc ken ky00te newspeak
XMAN6=		filters.6
X
X.include <bsd.port.pre.mk>
X
XEXTRACFLAGS!=	${ECHO} ${CFLAGS} | ${SED} -e 's|\-lfl||'
X
Xpost-patch:
X.for f in ${FILTERS}
X	@${REINPLACE_CMD} -e 's|/usr/local/bin/perl|${PERL}|' \
X		${WRKSRC}/${f}
X.endfor
X	@${REINPLACE_CMD} -e 's|^\(CFLAGS\).*=|\1?=|' \
X		${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e 's|/usr/share/doc/filters|${EXAMPLESDIR}|' \
X		${WRKSRC}/${MAN6}
X	@${REINPLACE_CMD} \
X		-e 's|\([[:space:]]\)cc\ |\1${CC}\ |' \
X		-e 's|..CFLAGS.\(\ -o\ \.\{2\}\)|${EXTRACFLAGS}\1|' \
X			${WRKSRC}/ky00te.dir/makefile
X
Xdo-install:
X.for f in ${PERLFILTERS}
X	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
X.endfor
X.for f in ${CFILTERS}
X	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
X.endfor
X	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${MANPREFIX}/man/man6
X	${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/SAMPLES ${EXAMPLESDIR}
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-filters/Makefile
echo x - filters/pkg-descr
sed 's/^X//' >filters/pkg-descr << 'END-of-filters/pkg-descr'
XA collection of command line filters, including B1FF and the Swedish Chef.
XNo personal, racial, societal slurs are intended. For amusement only.
X
XAll the filters read input from stdin, change it, and write the filtered
Xtext to stdout.
X
XWWW: None
X
X- ehaupt
Xehaupt at critical.ch
END-of-filters/pkg-descr
echo x - filters/distinfo
sed 's/^X//' >filters/distinfo << 'END-of-filters/distinfo'
XMD5 (filters_2.34.tar.gz) = c781394c0d4c5ff4cbf551827e99ee72
XSIZE (filters_2.34.tar.gz) = 43654
END-of-filters/distinfo
echo x - filters/pkg-plist
sed 's/^X//' >filters/pkg-plist << 'END-of-filters/pkg-plist'
Xbin/b1ff
Xbin/censor
Xbin/chef
Xbin/cockney
Xbin/eleet
Xbin/fudd
Xbin/jethro
Xbin/jibberish
Xbin/jive
Xbin/ken
Xbin/kraut
Xbin/ky00te
Xbin/newspeak
Xbin/nyc
Xbin/rasterman
Xbin/spammer
Xbin/studly
Xbin/uniencode
Xbin/upside-down
X%%EXAMPLESDIR%%/SAMPLES
X%%PORTDOCS%%%%DOCSDIR%%/README
X at dirrm %%EXAMPLESDIR%%
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-filters/pkg-plist
exit
--- filters.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list