diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2003-09-01 12:29:36 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2003-09-01 12:29:36 +0000 |
commit | f34a0dd8b7770107569c240be9e54bf582aacebb (patch) | |
tree | 59e5de2a83d5f768eb3f2cd7009154cc918af7ac /www/p5-WWW-Shorten | |
parent | 786eedd8130bbffae0c3804dacc8ab46aff8f8e9 (diff) | |
download | ports-f34a0dd8b7770107569c240be9e54bf582aacebb.tar.gz ports-f34a0dd8b7770107569c240be9e54bf582aacebb.zip |
Notes
Diffstat (limited to 'www/p5-WWW-Shorten')
-rw-r--r-- | www/p5-WWW-Shorten/Makefile | 65 | ||||
-rw-r--r-- | www/p5-WWW-Shorten/distinfo | 1 | ||||
-rw-r--r-- | www/p5-WWW-Shorten/pkg-descr | 4 | ||||
-rw-r--r-- | www/p5-WWW-Shorten/pkg-plist | 36 |
4 files changed, 106 insertions, 0 deletions
diff --git a/www/p5-WWW-Shorten/Makefile b/www/p5-WWW-Shorten/Makefile new file mode 100644 index 000000000000..e2bf34f6c9ca --- /dev/null +++ b/www/p5-WWW-Shorten/Makefile @@ -0,0 +1,65 @@ +# New ports collection makefile for: p5-WWW-Shorten +# Date created: August 29 2003 +# Whom: Lars Thegler <lars@thegler.dk> +# +# $FreeBSD$ +# + +PORTNAME= WWW-Shorten +PORTVERSION= 1.84 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= WWW +PKGNAMEPREFIX= p5- + +MAINTAINER= lars@thegler.dk +COMMENT= Abstract interface to URL shortening sites + +BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \ + ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= WWW::Shorten.3 \ + WWW::Shorten::EkDk.3 \ + WWW::Shorten::MakeAShorterLink.3 \ + WWW::Shorten::Metamark.3 \ + WWW::Shorten::NotLong.3 \ + WWW::Shorten::Shorl.3 \ + WWW::Shorten::ShortLink.3 \ + WWW::Shorten::SmLnk.3 \ + WWW::Shorten::SnipURL.3 \ + WWW::Shorten::TinyClick.3 \ + WWW::Shorten::TinyURL.3 \ + WWW::Shorten::Tinylink.3 \ + WWW::Shorten::qURL.3 + +DOCS= AUTHORS Artistic COPYING CREDITS ChangeLog Changes \ + INSTALL LICENSE MANIFEST MANIFEST.SKIP META.yml \ + README SIGNATURE +EXAMPLES= shorten shortenrc + +post-install: +.ifndef(NOPORTDOCS) + @${ECHO_MSG} "===> Installing docs for ${PKGNAME}" + ${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} + @${ECHO_MSG} "===> Installing examples for ${PKGNAME}" + ${MKDIR} ${EXAMPLESDIR} + cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} ${EXAMPLES} ${EXAMPLESDIR} +.endif + +test: + cd ${WRKSRC} ; make test + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +post-patch: + @${PERL} -pi -e 's/^our ([\$$\@]\w+)/use vars qw($$1); $$1/;' \ + -e '$$_ = "" if /5.006/;' \ + $$(${FIND} ${WRKSRC} -name '*.pm') +.endif + +.include <bsd.port.post.mk> diff --git a/www/p5-WWW-Shorten/distinfo b/www/p5-WWW-Shorten/distinfo new file mode 100644 index 000000000000..a4e9044a70ef --- /dev/null +++ b/www/p5-WWW-Shorten/distinfo @@ -0,0 +1 @@ +MD5 (WWW-Shorten-1.84.tar.gz) = 8513dd460e54f4235e06448481637b68 diff --git a/www/p5-WWW-Shorten/pkg-descr b/www/p5-WWW-Shorten/pkg-descr new file mode 100644 index 000000000000..58d2fab86399 --- /dev/null +++ b/www/p5-WWW-Shorten/pkg-descr @@ -0,0 +1,4 @@ +A Perl interface to URL shortening sites. These sites maintain databases +of long URLs, each of which has a unique identifier. + +WWW: http://search.cpan.org/dist/WWW-Shorten/ diff --git a/www/p5-WWW-Shorten/pkg-plist b/www/p5-WWW-Shorten/pkg-plist new file mode 100644 index 000000000000..6de9f7723983 --- /dev/null +++ b/www/p5-WWW-Shorten/pkg-plist @@ -0,0 +1,36 @@ +%%SITE_PERL%%/WWW/Shorten.pm +%%SITE_PERL%%/WWW/Shorten/EkDk.pm +%%SITE_PERL%%/WWW/Shorten/MakeAShorterLink.pm +%%SITE_PERL%%/WWW/Shorten/Metamark.pm +%%SITE_PERL%%/WWW/Shorten/NotLong.pm +%%SITE_PERL%%/WWW/Shorten/Shorl.pm +%%SITE_PERL%%/WWW/Shorten/ShortLink.pm +%%SITE_PERL%%/WWW/Shorten/SmLnk.pm +%%SITE_PERL%%/WWW/Shorten/SnipURL.pm +%%SITE_PERL%%/WWW/Shorten/TinyClick.pm +%%SITE_PERL%%/WWW/Shorten/TinyURL.pm +%%SITE_PERL%%/WWW/Shorten/Tinylink.pm +%%SITE_PERL%%/WWW/Shorten/generic.pm +%%SITE_PERL%%/WWW/Shorten/qURL.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Shorten/.packlist +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/Artistic +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/CREDITS +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/Changes +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/MANIFEST +%%PORTDOCS%%%%DOCSDIR%%/MANIFEST.SKIP +%%PORTDOCS%%%%DOCSDIR%%/META.yml +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/SIGNATURE +%%PORTDOCS%%%%EXAMPLESDIR%%/shorten +%%PORTDOCS%%%%EXAMPLESDIR%%/shortenrc +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Shorten +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW 2>/dev/null || true +@dirrm %%SITE_PERL%%/WWW/Shorten +@unexec rmdir %D/%%SITE_PERL%%/WWW 2>/dev/null || true |