# 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: # # p5-Lingua-EN-Inflect-Number # p5-Lingua-EN-Inflect-Number/Makefile # p5-Lingua-EN-Inflect-Number/pkg-descr # p5-Lingua-EN-Inflect-Number/pkg-plist # p5-Lingua-EN-Inflect-Number/distinfo # echo c - p5-Lingua-EN-Inflect-Number mkdir -p p5-Lingua-EN-Inflect-Number > /dev/null 2>&1 echo x - p5-Lingua-EN-Inflect-Number/Makefile sed 's/^X//' >p5-Lingua-EN-Inflect-Number/Makefile << 'END-of-p5-Lingua-EN-Inflect-Number/Makefile' X# New ports collection makefile for: p5-Lingua-EN-Inflect-Number X# Date created: Apr 4 2004 X# Whom: Lars Thegler X# X# $FreeBSD$ X XPORTNAME= Lingua-EN-Inflect-Number XPORTVERSION= 1.1 XCATEGORIES= textproc perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Lingua XPKGNAMEPREFIX= p5- X XMAINTAINER= lars@thegler.dk XCOMMENT= Force number of words to singular or plural X XBUILD_DEPENDS= ${SITE_PERL}/Lingua/EN/Inflect.pm:${PORTSDIR}/textproc/p5-Lingua-EN-Inflect XRUN_DEPENDS= ${BUILD_DEPENDS} X XPERL_CONFIGURE= yes X XMAN3= Lingua::EN::Inflect::Number.3 X X.include X X.if ${PERL_LEVEL} < 500600 Xpost-patch: X ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \ X -e '$$_="" if /use 5.006/;' \ X -e '$$_="" if /use warnings/;' \ X ${WRKSRC}/Number.pm X Xpost-configure: X ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile X.endif X X.include END-of-p5-Lingua-EN-Inflect-Number/Makefile echo x - p5-Lingua-EN-Inflect-Number/pkg-descr sed 's/^X//' >p5-Lingua-EN-Inflect-Number/pkg-descr << 'END-of-p5-Lingua-EN-Inflect-Number/pkg-descr' XThis module extends the functionality of Lingua::EN::Inflect with Xthree new functions available for export. X XWWW: http://search.cpan.org/dist/Lingua-EN-Inflect-Number/ END-of-p5-Lingua-EN-Inflect-Number/pkg-descr echo x - p5-Lingua-EN-Inflect-Number/pkg-plist sed 's/^X//' >p5-Lingua-EN-Inflect-Number/pkg-plist << 'END-of-p5-Lingua-EN-Inflect-Number/pkg-plist' X%%SITE_PERL%%/Lingua/EN/Inflect/Number.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN/Inflect/Number/.packlist X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN/Inflect/Number X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN/Inflect 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/Lingua/EN/Inflect 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/Lingua/EN 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/Lingua 2>/dev/null || true END-of-p5-Lingua-EN-Inflect-Number/pkg-plist echo x - p5-Lingua-EN-Inflect-Number/distinfo sed 's/^X//' >p5-Lingua-EN-Inflect-Number/distinfo << 'END-of-p5-Lingua-EN-Inflect-Number/distinfo' XMD5 (Lingua-EN-Inflect-Number-1.1.tar.gz) = bcee940ef603da93e7da11d8eecad409 XSIZE (Lingua-EN-Inflect-Number-1.1.tar.gz) = 3003 END-of-p5-Lingua-EN-Inflect-Number/distinfo exit