diff options
author | culot <culot@FreeBSD.org> | 2012-03-19 17:42:24 +0800 |
---|---|---|
committer | culot <culot@FreeBSD.org> | 2012-03-19 17:42:24 +0800 |
commit | 258e37f9d482000629e18ed2f2a7f17113895a64 (patch) | |
tree | 07e4472c37cfa6bedf17fe46c736eb63fe1b223e /www | |
parent | a7b01a40f217f542f69ec81aed0d90045fb17f8a (diff) | |
download | freebsd-ports-gnome-258e37f9d482000629e18ed2f2a7f17113895a64.tar.gz freebsd-ports-gnome-258e37f9d482000629e18ed2f2a7f17113895a64.tar.zst freebsd-ports-gnome-258e37f9d482000629e18ed2f2a7f17113895a64.zip |
WWW::LongURL is a simple interface for using the LongURL API to expand
shortened URLs.
WWW: http://search.cpan.org/dist/WWW-LongURL/
PR: ports/166186
Submitted by: Yi-Hsuan Hsin <mhsin@mhsin.org>
Feature safe: yes
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-WWW-LongURL/Makefile | 32 | ||||
-rw-r--r-- | www/p5-WWW-LongURL/distinfo | 2 | ||||
-rw-r--r-- | www/p5-WWW-LongURL/pkg-descr | 4 | ||||
-rw-r--r-- | www/p5-WWW-LongURL/pkg-plist | 5 |
5 files changed, 44 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 16d4fc39acb6..c2536c1d897a 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1209,6 +1209,7 @@ SUBDIR += p5-WWW-IMDb SUBDIR += p5-WWW-Instapaper-Client SUBDIR += p5-WWW-Link + SUBDIR += p5-WWW-LongURL SUBDIR += p5-WWW-Mechanize SUBDIR += p5-WWW-Mechanize-CGI SUBDIR += p5-WWW-Mechanize-Cached diff --git a/www/p5-WWW-LongURL/Makefile b/www/p5-WWW-LongURL/Makefile new file mode 100644 index 000000000000..5ba3d83b90bb --- /dev/null +++ b/www/p5-WWW-LongURL/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: p5-WWW-LongURL +# Date created: 2012-02-27 +# Whom: Yi-Hsuan Hsin <mhsin@mhsin.org> +# +# $FreeBSD$ +# + +PORTNAME= WWW-LongURL +PORTVERSION= 0.05 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= mhsin@mhsin.org +COMMENT= Perl interface to the LongURL API + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-JSON-Any>0:${PORTSDIR}/converters/p5-JSON-Any \ + p5-URI>0:${PORTSDIR}/net/p5-URI \ + p5-Class-Accessor>0:${PORTSDIR}/devel/p5-Class-Accessor \ + p5-libwww>0:${PORTSDIR}/www/p5-libwww +RUN_DEPENDS:= ${BUILD_DEPENDS} + +TEST_DEPENDS= p5-LWP-Online>0:${PORTSDIR}/www/p5-LWP-Online + +PERL_CONFIGURE= yes + +MAN3= WWW::LongURL.3 + +.include <bsd.port.mk> diff --git a/www/p5-WWW-LongURL/distinfo b/www/p5-WWW-LongURL/distinfo new file mode 100644 index 000000000000..38dd7550cf2f --- /dev/null +++ b/www/p5-WWW-LongURL/distinfo @@ -0,0 +1,2 @@ +SHA256 (WWW-LongURL-0.05.tar.gz) = 7dd82a3f3cefc4fa88819a0c7494645d62ee799e856d1d944ff5287602f79373 +SIZE (WWW-LongURL-0.05.tar.gz) = 26884 diff --git a/www/p5-WWW-LongURL/pkg-descr b/www/p5-WWW-LongURL/pkg-descr new file mode 100644 index 000000000000..c951d4896d50 --- /dev/null +++ b/www/p5-WWW-LongURL/pkg-descr @@ -0,0 +1,4 @@ +WWW::LongURL is a simple interface for using the LongURL API to expand +shortened URLs. + +WWW: http://search.cpan.org/dist/WWW-LongURL/ diff --git a/www/p5-WWW-LongURL/pkg-plist b/www/p5-WWW-LongURL/pkg-plist new file mode 100644 index 000000000000..dcd6a30e00a2 --- /dev/null +++ b/www/p5-WWW-LongURL/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/WWW/LongURL.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/LongURL/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/LongURL +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW +@dirrmtry %%SITE_PERL%%/WWW |