aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Getopt-Popt
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2004-11-04 10:15:45 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2004-11-04 10:15:45 +0000
commit1f2a199eb651594b491bf0b3fa2858336d706ed3 (patch)
tree8d0f25f5f2ae626fe1194efd2c6ebde60f1d4c68 /devel/p5-Getopt-Popt
parent57846e8efe1466a485854ff422596b600eaea641 (diff)
downloadports-1f2a199eb651594b491bf0b3fa2858336d706ed3.tar.gz
ports-1f2a199eb651594b491bf0b3fa2858336d706ed3.zip
Add p5-Getopt-Popt 0.01, perl interface to the popt(3) library.
Notes
Notes: svn path=/head/; revision=120760
Diffstat (limited to 'devel/p5-Getopt-Popt')
-rw-r--r--devel/p5-Getopt-Popt/Makefile31
-rw-r--r--devel/p5-Getopt-Popt/distinfo2
-rw-r--r--devel/p5-Getopt-Popt/pkg-descr5
-rw-r--r--devel/p5-Getopt-Popt/pkg-plist7
4 files changed, 45 insertions, 0 deletions
diff --git a/devel/p5-Getopt-Popt/Makefile b/devel/p5-Getopt-Popt/Makefile
new file mode 100644
index 000000000000..aefc0011126f
--- /dev/null
+++ b/devel/p5-Getopt-Popt/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: Getopt-Popt
+# Date created: 04 November 2004
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Getopt-Popt
+PORTVERSION= 0.01
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Getopt
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Perl interface to the popt(3) library
+
+LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+CONFIGURE_ARGS= INC='-I${LOCALBASE}/include' LIBS'-L${LOCALBASE}/lib'
+
+MAN3= Getopt::Popt.3
+
+post-patch:
+ @${MKDIR} ${WRKSRC}/ex
+ @${MV} ${WRKSRC}/example.pl ${WRKSRC}/ex
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Getopt-Popt/distinfo b/devel/p5-Getopt-Popt/distinfo
new file mode 100644
index 000000000000..d7c3ce3510b9
--- /dev/null
+++ b/devel/p5-Getopt-Popt/distinfo
@@ -0,0 +1,2 @@
+MD5 (Getopt-Popt-0.01.tar.gz) = 39367aadc172a2c2ddd33bbbba532e65
+SIZE (Getopt-Popt-0.01.tar.gz) = 21394
diff --git a/devel/p5-Getopt-Popt/pkg-descr b/devel/p5-Getopt-Popt/pkg-descr
new file mode 100644
index 000000000000..06eaf3cc52d0
--- /dev/null
+++ b/devel/p5-Getopt-Popt/pkg-descr
@@ -0,0 +1,5 @@
+This module provides an interface to (most of) the functions available
+in the popt library. See the popt(3) manpage for more details about
+what the popt library can do.
+
+WWW: http://search.cpan.org/dist/Getopt-Popt/
diff --git a/devel/p5-Getopt-Popt/pkg-plist b/devel/p5-Getopt-Popt/pkg-plist
new file mode 100644
index 000000000000..f77f37fe451d
--- /dev/null
+++ b/devel/p5-Getopt-Popt/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Getopt/Popt/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/Getopt/Popt.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Getopt/Popt/Popt.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Getopt/Popt/Popt.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Getopt/Popt
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Getopt 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Getopt 2>/dev/null || true