aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2011-04-06 09:00:58 +0800
committerwen <wen@FreeBSD.org>2011-04-06 09:00:58 +0800
commit35c02f66b0847a15c035174bb83294418ab4023b (patch)
tree636b9a9ad20a40c07d0ffbca0c75c89afdb197fb /www
parent578a204c58fdc67b2167f21b0af4cc7d261c905e (diff)
downloadfreebsd-ports-gnome-35c02f66b0847a15c035174bb83294418ab4023b.tar.gz
freebsd-ports-gnome-35c02f66b0847a15c035174bb83294418ab4023b.tar.zst
freebsd-ports-gnome-35c02f66b0847a15c035174bb83294418ab4023b.zip
Short URL services have become enormously popular on the internet.
There are, literally, dozens (hundreds?) of these services. Services_ShortURL offers an abstract way of shortening and expanding URLs. WWW: http://pear.php.net/package/Services_ShortURL/
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/pear-Services_ShortURL/Makefile45
-rw-r--r--www/pear-Services_ShortURL/distinfo2
-rw-r--r--www/pear-Services_ShortURL/pkg-descr6
4 files changed, 54 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index ba318dea661c..bdd31045ac49 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1373,6 +1373,7 @@
SUBDIR += pear-Services_Google
SUBDIR += pear-Services_OpenSearch
SUBDIR += pear-Services_SharedBook
+ SUBDIR += pear-Services_ShortURL
SUBDIR += pear-Services_TinyURL
SUBDIR += pear-Services_TwitPic
SUBDIR += pear-Services_W3C_CSSValidator
diff --git a/www/pear-Services_ShortURL/Makefile b/www/pear-Services_ShortURL/Makefile
new file mode 100644
index 000000000000..f971cd4c8f9f
--- /dev/null
+++ b/www/pear-Services_ShortURL/Makefile
@@ -0,0 +1,45 @@
+# Ports collection makefile for: pear-Services_ShortURL
+# Date created: 06 April 2011
+# Whom: Wen Heping <wen@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Services_ShortURL
+PORTVERSION= 0.3.1
+CATEGORIES= www pear
+
+MAINTAINER= wen@FreeBSD.org
+COMMENT= Abstract PHP5 interface for shortening and expanding short URLs
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
+ ${PEARDIR}/HTTP/Request2.php:${PORTSDIR}/www/pear-HTTP_Request2
+
+USE_PHP= simplexml pcre spl
+
+CATEGORY= Services
+PEAR_CATSRC= yes
+
+FILES= ShortURL/Bitly.php \
+ ShortURL/Common.php \
+ ShortURL/Digg.php \
+ ShortURL/Exception/CouldNotExpand.php \
+ ShortURL/Exception/CouldNotShorten.php \
+ ShortURL/Exception/InvalidOptions.php \
+ ShortURL/Exception/NotImplemented.php \
+ ShortURL/Exception/UnknownService.php \
+ ShortURL/Exception.php \
+ ShortURL/Googl.php \
+ ShortURL/Interface.php \
+ ShortURL/Isgd.php \
+ ShortURL/Shortie.php \
+ ShortURL/TinyURL.php \
+ ShortURL/Trim.php \
+ ShortURL.php
+
+TESTS= AllTests.php Services/ShortURLTest.php
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
+.include <bsd.port.post.mk>
diff --git a/www/pear-Services_ShortURL/distinfo b/www/pear-Services_ShortURL/distinfo
new file mode 100644
index 000000000000..844a5fd25966
--- /dev/null
+++ b/www/pear-Services_ShortURL/distinfo
@@ -0,0 +1,2 @@
+SHA256 (PEAR/Services_ShortURL-0.3.1.tgz) = 85fa6affdf9fc0ea3e997576874d71737a3236190891ecf0f7046909181fb0db
+SIZE (PEAR/Services_ShortURL-0.3.1.tgz) = 9539
diff --git a/www/pear-Services_ShortURL/pkg-descr b/www/pear-Services_ShortURL/pkg-descr
new file mode 100644
index 000000000000..a664513d4b9f
--- /dev/null
+++ b/www/pear-Services_ShortURL/pkg-descr
@@ -0,0 +1,6 @@
+Short URL services have become enormously popular on the internet.
+There are, literally, dozens (hundreds?) of these services.
+Services_ShortURL offers an abstract way of shortening and expanding
+URLs.
+
+WWW: http://pear.php.net/package/Services_ShortURL/