aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-08-03 01:18:30 +0800
committerrafan <rafan@FreeBSD.org>2006-08-03 01:18:30 +0800
commita3bf9070f312cf06d1b9a03e78bc9df3dcdc4f9f (patch)
treeb90e0ffa3f72600d19bb6c600f83d79079b38003 /net
parentef75cd783f58585d0fdc04c4abb177787bf0020f (diff)
downloadfreebsd-ports-gnome-a3bf9070f312cf06d1b9a03e78bc9df3dcdc4f9f.tar.gz
freebsd-ports-gnome-a3bf9070f312cf06d1b9a03e78bc9df3dcdc4f9f.tar.zst
freebsd-ports-gnome-a3bf9070f312cf06d1b9a03e78bc9df3dcdc4f9f.zip
Add p5-Net-FS-Flickr 0.1, a Perl interface for store and retrieve files
on Flickr. PR: ports/101057 Submitted by: Tsung-Han Yeh <snowfly at yuntech.edu.tw>
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Net-FS-Flickr/Makefile41
-rw-r--r--net/p5-Net-FS-Flickr/distinfo3
-rw-r--r--net/p5-Net-FS-Flickr/pkg-descr4
-rw-r--r--net/p5-Net-FS-Flickr/pkg-plist8
5 files changed, 57 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 2b1135aa3e68..e80d146b70c7 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -429,6 +429,7 @@
SUBDIR += p5-Net-EPP-Client
SUBDIR += p5-Net-EPP-Frame
SUBDIR += p5-Net-EPP-Proxy
+ SUBDIR += p5-Net-FS-Flickr
SUBDIR += p5-Net-FS-Gmail
SUBDIR += p5-Net-FTP-File
SUBDIR += p5-Net-Finger
diff --git a/net/p5-Net-FS-Flickr/Makefile b/net/p5-Net-FS-Flickr/Makefile
new file mode 100644
index 000000000000..54126c993f70
--- /dev/null
+++ b/net/p5-Net-FS-Flickr/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: p5-Net-FS-Flickr
+# Date created: 2006-07-30
+# Whom: Tsung-Han Yeh <snowfly@yuntech.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-FS-Flickr
+PORTVERSION= 0.1
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= snowfly@yuntech.edu.tw
+COMMENT= A Perl interface for store and retrieve files on Flickr
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${PORTSDIR}/devel/p5-Data-Dumper \
+ ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
+ ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
+ ${SITE_PERL}/Acme/Steganography/Image/Png.pm:${PORTSDIR}/graphics/p5-Acme-Steganography-Image-Png \
+ ${SITE_PERL}/Flickr/Upload.pm:${PORTSDIR}/www/p5-Flickr-Upload
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_MODBUILD= yes
+
+MAN1= flickrfs.1
+MAN3= Net::FS::Flickr.3 \
+ Net::FS::Flickr::Access.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires at least Perl 5.6 due to dependencies. Please install lang/perl5.8 and try again
+.endif
+
+.if ${PERL_LEVEL} < 500601
+BUILD_DEPENDS+= ${SITE_PERL}/base.pm:${PORTSDIR}/devel/p5-Class-Fields
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/p5-Net-FS-Flickr/distinfo b/net/p5-Net-FS-Flickr/distinfo
new file mode 100644
index 000000000000..c3b13f034497
--- /dev/null
+++ b/net/p5-Net-FS-Flickr/distinfo
@@ -0,0 +1,3 @@
+MD5 (Net-FS-Flickr-0.1.tar.gz) = 40990a14cde88de9231a86f264d38669
+SHA256 (Net-FS-Flickr-0.1.tar.gz) = fea18f5d1884c33a886d70498501f0a91e47d364dae3f9d9483d4033cdb75278
+SIZE (Net-FS-Flickr-0.1.tar.gz) = 33705
diff --git a/net/p5-Net-FS-Flickr/pkg-descr b/net/p5-Net-FS-Flickr/pkg-descr
new file mode 100644
index 000000000000..ed94bcbcbecb
--- /dev/null
+++ b/net/p5-Net-FS-Flickr/pkg-descr
@@ -0,0 +1,4 @@
+Net::FS::Flickr - store and retrieve files on Flickr
+
+Author: Simon Wistow <simon@thegestalt.org>
+WWW: http://search.cpan.org/dist/Net-FS-Flickr/
diff --git a/net/p5-Net-FS-Flickr/pkg-plist b/net/p5-Net-FS-Flickr/pkg-plist
new file mode 100644
index 000000000000..69af4ae4b99d
--- /dev/null
+++ b/net/p5-Net-FS-Flickr/pkg-plist
@@ -0,0 +1,8 @@
+@comment $FreeBSD$
+bin/flickrfs
+%%SITE_PERL%%/Net/FS/Flickr.pm
+%%SITE_PERL%%/Net/FS/Flickr/Access.pm
+%%SITE_PERL%%/Net/FS/Flickr/DefaultImage.pm
+@dirrmtry %%SITE_PERL%%/Net/FS/Flickr
+@dirrmtry %%SITE_PERL%%/Net/FS
+@dirrmtry %%SITE_PERL%%/Net