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. PR: ports/83119 Submitted by: Emanuel Haupt <ehaupt@critical.ch> Bribed by: swiss chocolate
This commit is contained in:
parent
fb63aabb2d
commit
3cbd126441
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138900
@ -131,6 +131,7 @@
|
||||
SUBDIR += fargoal
|
||||
SUBDIR += fgfs-base
|
||||
SUBDIR += fgkicker
|
||||
SUBDIR += filters
|
||||
SUBDIR += fkiss
|
||||
SUBDIR += flightgear
|
||||
SUBDIR += flying
|
||||
|
64
games/filters/Makefile
Normal file
64
games/filters/Makefile
Normal file
@ -0,0 +1,64 @@
|
||||
# New ports collection makefile for: filters
|
||||
# Date created: 7 Jul 2005
|
||||
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= filters
|
||||
PORTVERSION= 2.34
|
||||
CATEGORIES= games perl5
|
||||
MASTER_SITES= http://ftp.debian.org/debian/pool/main/f/filters/
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
|
||||
MAINTAINER= ehaupt@critical.ch
|
||||
COMMENT= A collection of filters, including B1FF and the Swedish Chef
|
||||
|
||||
USE_PERL5= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
ALL_TARGET+= samples
|
||||
CFLAGS+= -lfl
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
PERLFILTERS= b1ff censor chef eleet fudd jibberish rasterman \
|
||||
spammer studly uniencode upside-down
|
||||
CFILTERS= jethro kraut cockney jive nyc ken ky00te newspeak
|
||||
MAN6= filters.6
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
EXTRACFLAGS!= ${ECHO} ${CFLAGS} | ${SED} -e 's|\-lfl||'
|
||||
|
||||
post-patch:
|
||||
.for f in ${FILTERS}
|
||||
@${REINPLACE_CMD} -e 's|/usr/local/bin/perl|${PERL}|' \
|
||||
${WRKSRC}/${f}
|
||||
.endfor
|
||||
@${REINPLACE_CMD} -e 's|^\(CFLAGS\).*=|\1?=|' \
|
||||
${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e 's|/usr/share/doc/filters|${EXAMPLESDIR}|' \
|
||||
${WRKSRC}/${MAN6}
|
||||
@${REINPLACE_CMD} \
|
||||
-e 's|\([[:space:]]\)cc\ |\1${CC}\ |' \
|
||||
-e 's|..CFLAGS.\(\ -o\ \.\{2\}\)|${EXTRACFLAGS}\1|' \
|
||||
${WRKSRC}/ky00te.dir/makefile
|
||||
|
||||
do-install:
|
||||
.for f in ${PERLFILTERS}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
|
||||
.endfor
|
||||
.for f in ${CFILTERS}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
|
||||
.endfor
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${MANPREFIX}/man/man6
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/SAMPLES ${EXAMPLESDIR}
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
games/filters/distinfo
Normal file
2
games/filters/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (filters_2.34.tar.gz) = c781394c0d4c5ff4cbf551827e99ee72
|
||||
SIZE (filters_2.34.tar.gz) = 43654
|
10
games/filters/pkg-descr
Normal file
10
games/filters/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
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.
|
||||
|
||||
WWW: None
|
||||
|
||||
- ehaupt
|
||||
ehaupt@critical.ch
|
23
games/filters/pkg-plist
Normal file
23
games/filters/pkg-plist
Normal file
@ -0,0 +1,23 @@
|
||||
bin/b1ff
|
||||
bin/censor
|
||||
bin/chef
|
||||
bin/cockney
|
||||
bin/eleet
|
||||
bin/fudd
|
||||
bin/jethro
|
||||
bin/jibberish
|
||||
bin/jive
|
||||
bin/ken
|
||||
bin/kraut
|
||||
bin/ky00te
|
||||
bin/newspeak
|
||||
bin/nyc
|
||||
bin/rasterman
|
||||
bin/spammer
|
||||
bin/studly
|
||||
bin/uniencode
|
||||
bin/upside-down
|
||||
%%EXAMPLESDIR%%/SAMPLES
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user