diff options
author | clsung <clsung@FreeBSD.org> | 2006-07-19 08:51:07 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2006-07-19 08:51:07 +0800 |
commit | 0a7b8e203d73e5008d8158403d7f96ba5c13901e (patch) | |
tree | c2b07581b03b72e4995757776146341ef11f387d /www | |
parent | 6ea305ec7944d62d2e8fc5ee0f2f7102ea8ad64d (diff) | |
download | freebsd-ports-gnome-0a7b8e203d73e5008d8158403d7f96ba5c13901e.tar.gz freebsd-ports-gnome-0a7b8e203d73e5008d8158403d7f96ba5c13901e.tar.zst freebsd-ports-gnome-0a7b8e203d73e5008d8158403d7f96ba5c13901e.zip |
Add p5-WWW-Shorten-KUSO 0.3, shorten URL using http://KUSO.CC/.
PR: ports/100434
Submitted by: Tsung-Han Yeh <snowfly at yuntech.edu.tw>
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-WWW-Shorten-KUSO/Makefile | 35 | ||||
-rw-r--r-- | www/p5-WWW-Shorten-KUSO/distinfo | 3 | ||||
-rw-r--r-- | www/p5-WWW-Shorten-KUSO/pkg-descr | 3 | ||||
-rw-r--r-- | www/p5-WWW-Shorten-KUSO/pkg-plist | 9 |
5 files changed, 51 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 69f050b85e23..7bf7aa907326 100644 --- a/www/Makefile +++ b/www/Makefile @@ -781,6 +781,7 @@ SUBDIR += p5-WWW-Search-MSN SUBDIR += p5-WWW-Shorten SUBDIR += p5-WWW-Shorten-0rz + SUBDIR += p5-WWW-Shorten-KUSO SUBDIR += p5-WWW-SourceForge SUBDIR += p5-WWW-Wikipedia SUBDIR += p5-WebService-Bloglines diff --git a/www/p5-WWW-Shorten-KUSO/Makefile b/www/p5-WWW-Shorten-KUSO/Makefile new file mode 100644 index 000000000000..648e6d3fa3c5 --- /dev/null +++ b/www/p5-WWW-Shorten-KUSO/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: p5-WWW-Shorten-KUSO +# Date created: 2006-07-16 +# Whom: Tsung-Han Yeh <snowfly@yuntech.edu.tw> +# +# $FreeBSD$ +# + +PORTNAME= WWW-Shorten-KUSO +PORTVERSION= 0.3 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= WWW +PKGNAMEPREFIX= p5- + +MAINTAINER= snowfly@yuntech.edu.tw +COMMENT= Shorten URL using http://KUSO.CC/ + +BUILD_DEPENDS= ${SITE_PERL}/WWW/Shorten.pm:${PORTSDIR}/www/p5-WWW-Shorten +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= WWW::Shorten::KUSO.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-KUSO/distinfo b/www/p5-WWW-Shorten-KUSO/distinfo new file mode 100644 index 000000000000..43557b27056c --- /dev/null +++ b/www/p5-WWW-Shorten-KUSO/distinfo @@ -0,0 +1,3 @@ +MD5 (WWW-Shorten-KUSO-0.3.tar.gz) = 7f34e0265e8839cf7191ff516c02fd3c +SHA256 (WWW-Shorten-KUSO-0.3.tar.gz) = 3ddd8abf20b6eea352350051f7bbc68e34c1f668c6a2541ae12ff1ddfaa186ec +SIZE (WWW-Shorten-KUSO-0.3.tar.gz) = 7838 diff --git a/www/p5-WWW-Shorten-KUSO/pkg-descr b/www/p5-WWW-Shorten-KUSO/pkg-descr new file mode 100644 index 000000000000..7596ccf9bf73 --- /dev/null +++ b/www/p5-WWW-Shorten-KUSO/pkg-descr @@ -0,0 +1,3 @@ +WWW::Shorten::KUSO - Shorten URL using http://KUSO.CC/ + +WWW: http://search.cpan.org/dist/WWW-Shorten-KUSO/ diff --git a/www/p5-WWW-Shorten-KUSO/pkg-plist b/www/p5-WWW-Shorten-KUSO/pkg-plist new file mode 100644 index 000000000000..413dfe0c0965 --- /dev/null +++ b/www/p5-WWW-Shorten-KUSO/pkg-plist @@ -0,0 +1,9 @@ +%%SITE_PERL%%/WWW/Shorten/KUSO.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Shorten/KUSO/.packlist +@dirrm share/nls/en_US.US-ASCII +@dirrm share/nls/POSIX +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Shorten/KUSO +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Shorten +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW +@dirrmtry %%SITE_PERL%%/WWW/Shorten +@dirrmtry %%SITE_PERL%%/WWW |