a417a61082
WWW::Shorten::Bitly provides an easy interface for shortening URLs using http://bit.ly. In addition to shortening URLs, you can pull statistics that bit.ly gathers regarding each shortened WWW::Shorten::Bitly uses XML::Simple to convert the xml response for the meta info and click stats to create a hashref of the results. ok sthen@
22 lines
436 B
Makefile
22 lines
436 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2011/08/18 11:48:12 jasper Exp $
|
|
|
|
COMMENT= interface to bit.ly shortening site
|
|
|
|
DISTNAME= WWW-Shorten-Bitly-1.14
|
|
CATEGORIES= www
|
|
|
|
# Perl
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODULES= cpan
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= converters/p5-JSON-Any \
|
|
textproc/p5-XML-Simple \
|
|
www/p5-WWW-Shorten
|
|
|
|
.include <bsd.port.mk>
|