# New ports collection makefile for: filters # Date created: 7 Jul 2005 # Whom: Emanuel Haupt # # $FreeBSD: ports/games/filters/Makefile,v 1.10 2007/12/12 19:48:14 ehaupt Exp $ # PORTNAME= filters PORTVERSION= 2.43 CATEGORIES= games perl5 MASTER_SITES= http://ftp.debian.org/debian/pool/main/f/filters/ \ http://critical.ch/distfiles/ \ http://energy.critical.ch/distfiles/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= A collection of filters, including B1FF and the Swedish Chef CONFLICTS= talkfilters-* jive-* chef-* kenny-* USE_PERL5= yes USE_GMAKE= yes WRKSRC= ${WRKDIR}/${PORTNAME} MAKE_ENV+= CC="${CC}" PERLFILTERS= b1ff censor chef eleet fudd jibberish kenny pirate rasterman \ spammer studly uniencode upside-down CFILTERS= jethro kraut cockney jive nyc ken ky00te newspeak nethackify MAN1= filters.1 MLINKS= filters.1 b1ff.1 \ filters.1 censor.1 \ filters.1 chef.1 \ filters.1 eleet.1 \ filters.1 fudd.1 \ filters.1 jibberish.1 \ filters.1 kenny.1 \ filters.1 pirate.1 \ filters.1 rasterman.1 \ filters.1 spammer.1 \ filters.1 studly.1 \ filters.1 uniencode.1 \ filters.1 upside-down.1 \ filters.1 jethro.1 \ filters.1 kraut.1 \ filters.1 cockney.1 \ filters.1 jive.1 \ filters.1 nyc.1 \ filters.1 ken.1 \ filters.1 ky00te.1 \ filters.1 newspeak.1 \ filters.1 nethackify.1 post-extract: @${MV} ${WRKSRC}/${PORTNAME}.6 ${WRKSRC}/${MAN1} post-patch: .for f in ${PERLFILTERS} @${REINPLACE_CMD} -e '1s|.*perl|#!${PERL}|' ${WRKSRC}/${f} .endfor do-install: .for f in ${CFILTERS} ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin .endfor .for f in ${PERLFILTERS} ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin .endfor ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1 .include