diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-07-19 00:27:08 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-07-19 00:27:08 +0000 |
commit | 1ed73e7eb7ecd076083cff24eb285aefc064feac (patch) | |
tree | 2ac3dae248694df0aa74f4cc24cd10704ffaf375 /www/p5-WWW-Shorten-0rz | |
parent | bf4fbffd65c8c0036e9be79f03c5c0c3bc3e5ca4 (diff) | |
download | ports-1ed73e7eb7ecd076083cff24eb285aefc064feac.tar.gz ports-1ed73e7eb7ecd076083cff24eb285aefc064feac.zip |
Notes
Diffstat (limited to 'www/p5-WWW-Shorten-0rz')
-rw-r--r-- | www/p5-WWW-Shorten-0rz/Makefile | 36 | ||||
-rw-r--r-- | www/p5-WWW-Shorten-0rz/distinfo | 3 | ||||
-rw-r--r-- | www/p5-WWW-Shorten-0rz/pkg-descr | 3 | ||||
-rw-r--r-- | www/p5-WWW-Shorten-0rz/pkg-plist | 9 |
4 files changed, 51 insertions, 0 deletions
diff --git a/www/p5-WWW-Shorten-0rz/Makefile b/www/p5-WWW-Shorten-0rz/Makefile new file mode 100644 index 000000000000..21f915e07cab --- /dev/null +++ b/www/p5-WWW-Shorten-0rz/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: p5-WWW-Shorten-0rz +# Date created: 2006-07-16 +# Whom: Tsung-Han Yeh <snowfly@yuntech.edu.tw> +# +# $FreeBSD$ +# + +PORTNAME= WWW-Shorten-0rz +PORTVERSION= 0.02 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= WWW +PKGNAMEPREFIX= p5- + +MAINTAINER= snowfly@yuntech.edu.tw +COMMENT= Shorten URL using 0rz.net + +BUILD_DEPENDS= ${SITE_PERL}/WWW/Shorten.pm:${PORTSDIR}/www/p5-WWW-Shorten \ + ${SITE_PERL}/WWW/Mechanize.pm:${PORTSDIR}/www/p5-WWW-Mechanize +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= WWW::Shorten::0rz.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +post-patch: + @${PERL} -pi -e 's/^our ([\$$\@]\w+)/use vars qw($$1); $$1/;' \ + -e '$$_ = "" if /use 5.006/;' \ + -e '$$_ = "" if /use warnings/;' \ + $$(${FIND} ${WRKSRC} -name '*.pm') +.endif + +.include <bsd.port.post.mk> diff --git a/www/p5-WWW-Shorten-0rz/distinfo b/www/p5-WWW-Shorten-0rz/distinfo new file mode 100644 index 000000000000..2dce29e00b2d --- /dev/null +++ b/www/p5-WWW-Shorten-0rz/distinfo @@ -0,0 +1,3 @@ +MD5 (WWW-Shorten-0rz-0.02.tar.gz) = a9c3bd16ca1c268d208dd5a7d3c96cec +SHA256 (WWW-Shorten-0rz-0.02.tar.gz) = 3e88161d672c136142ece5434bec4e69c06d3ad02a71c910601449f99cde48cd +SIZE (WWW-Shorten-0rz-0.02.tar.gz) = 7662 diff --git a/www/p5-WWW-Shorten-0rz/pkg-descr b/www/p5-WWW-Shorten-0rz/pkg-descr new file mode 100644 index 000000000000..1e6e1e5a903b --- /dev/null +++ b/www/p5-WWW-Shorten-0rz/pkg-descr @@ -0,0 +1,3 @@ +WWW::Shorten::0rz - Shorten URL using 0rz.net + +WWW: http://search.cpan.org/dist/WWW-Shorten-0rz/ diff --git a/www/p5-WWW-Shorten-0rz/pkg-plist b/www/p5-WWW-Shorten-0rz/pkg-plist new file mode 100644 index 000000000000..180ab519b572 --- /dev/null +++ b/www/p5-WWW-Shorten-0rz/pkg-plist @@ -0,0 +1,9 @@ +%%SITE_PERL%%/WWW/Shorten/0rz.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Shorten/0rz/.packlist +@dirrm share/nls/en_US.US-ASCII +@dirrm share/nls/POSIX +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Shorten/0rz +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Shorten +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW +@dirrmtry %%SITE_PERL%%/WWW/Shorten +@dirrmtry %%SITE_PERL%%/WWW |