aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2004-11-04 18:15:45 +0800
committerskv <skv@FreeBSD.org>2004-11-04 18:15:45 +0800
commita4db482f82a8923321957401fe7795004f49f254 (patch)
tree2b94dabf5d6c36b257d2c652150be4630778549e /devel
parent0b3308bfedf8628da41976d787783698c00c74f3 (diff)
downloadfreebsd-ports-gnome-a4db482f82a8923321957401fe7795004f49f254.tar.gz
freebsd-ports-gnome-a4db482f82a8923321957401fe7795004f49f254.tar.zst
freebsd-ports-gnome-a4db482f82a8923321957401fe7795004f49f254.zip
Add p5-Getopt-Popt 0.01, perl interface to the popt(3) library.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-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
5 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 02fd53f92772..1dc0e8909a5c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -827,6 +827,7 @@
SUBDIR += p5-Getopt-Declare
SUBDIR += p5-Getopt-Long
SUBDIR += p5-Getopt-Mixed
+ SUBDIR += p5-Getopt-Popt
SUBDIR += p5-Glib2
SUBDIR += p5-Heap
SUBDIR += p5-Heap-Simple
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