aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-07-19 00:51:07 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-07-19 00:51:07 +0000
commit7ba7297a472e60191e4af33fc7f29d2039e21261 (patch)
treeb206f85af4338f5979b9bf6e107832db221e799a
parent1ed73e7eb7ecd076083cff24eb285aefc064feac (diff)
downloadports-7ba7297a472e60191e4af33fc7f29d2039e21261.tar.gz
ports-7ba7297a472e60191e4af33fc7f29d2039e21261.zip
Notes
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-WWW-Shorten-KUSO/Makefile35
-rw-r--r--www/p5-WWW-Shorten-KUSO/distinfo3
-rw-r--r--www/p5-WWW-Shorten-KUSO/pkg-descr3
-rw-r--r--www/p5-WWW-Shorten-KUSO/pkg-plist9
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