1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Add p5-Lingua-EN-Inflect-Number 1.1,

This module extends the functionality of Lingua::EN::Inflect
with three new functions available for export.

PR:		ports/65148
Submitted by:	Lars Thegler <lars@thegler.dk>
This commit is contained in:
Kirill Ponomarev 2004-04-04 14:39:39 +00:00
parent ade1f690e7
commit 09b8b5d824
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106120
5 changed files with 53 additions and 0 deletions

View File

@ -230,6 +230,7 @@
SUBDIR += p5-Lingua-EN-Gender
SUBDIR += p5-Lingua-EN-Infinitive
SUBDIR += p5-Lingua-EN-Inflect
SUBDIR += p5-Lingua-EN-Inflect-Number
SUBDIR += p5-Lingua-EN-MatchNames
SUBDIR += p5-Lingua-EN-NameCase
SUBDIR += p5-Lingua-EN-NameParse

View File

@ -0,0 +1,37 @@
# New ports collection makefile for: p5-Lingua-EN-Inflect-Number
# Date created: Apr 4 2004
# Whom: Lars Thegler <lars@thegler.dk>
#
# $FreeBSD$
PORTNAME= Lingua-EN-Inflect-Number
PORTVERSION= 1.1
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Lingua
PKGNAMEPREFIX= p5-
MAINTAINER= lars@thegler.dk
COMMENT= Force number of words to singular or plural
BUILD_DEPENDS= ${SITE_PERL}/Lingua/EN/Inflect.pm:${PORTSDIR}/textproc/p5-Lingua-EN-Inflect
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Lingua::EN::Inflect::Number.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
post-patch:
${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
-e '$$_="" if /use 5.006/;' \
-e '$$_="" if /use warnings/;' \
${WRKSRC}/Number.pm
post-configure:
${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (Lingua-EN-Inflect-Number-1.1.tar.gz) = bcee940ef603da93e7da11d8eecad409
SIZE (Lingua-EN-Inflect-Number-1.1.tar.gz) = 3003

View File

@ -0,0 +1,4 @@
This module extends the functionality of Lingua::EN::Inflect with
three new functions available for export.
WWW: http://search.cpan.org/dist/Lingua-EN-Inflect-Number/

View File

@ -0,0 +1,9 @@
%%SITE_PERL%%/Lingua/EN/Inflect/Number.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN/Inflect/Number/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN/Inflect/Number
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN/Inflect 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Lingua/EN/Inflect 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Lingua/EN 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Lingua 2>/dev/null || true