aboutsummaryrefslogtreecommitdiffstats
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
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/
-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/
'insertions'>+3 * Add "Design Patterns for Simulations in Erlang/OTP", a thesis byolgeni2003-12-144-3/+18 * Unbreak: chase checksum for armstrong_thesis_2003.pdf.olgeni2003-11-292-2/+2 * Add Joe Armstrong's PhD thesis, "Making reliable distributed systemsolgeni2003-11-203-4/+7 * Chase PDF checksums.olgeni2003-08-122-6/+7 * Bump PORTEPOCH.olgeni2003-08-081-0/+1 * Upgrade to version R9C.olgeni2003-08-073-135/+140 * Add a document about OTP programming rules.olgeni2003-07-113-3/+7 * Add the first part of "Concurrent Programming in Erlang", a bookolgeni2003-07-063-2/+5 * De-pkg-comment my ports + some more.olgeni2003-02-232-1/+1 * Unbreak: update checksums for some PDF documents.olgeni2003-01-012-11/+11 * Add course.pdf, a quick Erlang course for starters.olgeni2002-11-163-2/+7 * Update documentation to release R9B-0.olgeni2002-11-033-98/+132 * I forgot to update some checksums in the last commit... A "make distclean"olgeni2002-05-011-24/+24 * Update erlang documentation to version R8B-1 (8.1).olgeni2002-04-303-64/+66