aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-Net-FS-Flickr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/p5-Net-FS-Flickr/Makefile')
-rw-r--r--net/p5-Net-FS-Flickr/Makefile41
1 files changed, 41 insertions, 0 deletions
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>