aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2017-03-31 17:11:09 +0800
committerhrs <hrs@FreeBSD.org>2017-03-31 17:11:09 +0800
commitcc907a0624cab4e020777955f744ddceeabcbbd8 (patch)
tree9c1c0785c5c7dc07e169e328a5b38f870392d88c /devel
parent80fee9c7b72826f863373d1d8cd015897685fd2a (diff)
downloadfreebsd-ports-gnome-cc907a0624cab4e020777955f744ddceeabcbbd8.tar.gz
freebsd-ports-gnome-cc907a0624cab4e020777955f744ddceeabcbbd8.tar.zst
freebsd-ports-gnome-cc907a0624cab4e020777955f744ddceeabcbbd8.zip
Add textproc/greple and devel/p5-Getopt-EX, which greple depends on.
Greple is an egrep-like command-line tool which supports keyword search in a way similar to popular WWW search engines in addition to regex.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Getopt-EX/Makefile25
-rw-r--r--devel/p5-Getopt-EX/distinfo3
-rw-r--r--devel/p5-Getopt-EX/pkg-descr5
-rw-r--r--devel/p5-Getopt-EX/pkg-plist7
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 29ce3f7e3257..e4f9701146f5 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2514,6 +2514,7 @@
SUBDIR += p5-Getopt-Compact-WithCmd
SUBDIR += p5-Getopt-Declare
SUBDIR += p5-Getopt-Euclid
+ SUBDIR += p5-Getopt-EX
SUBDIR += p5-Getopt-GUI-Long
SUBDIR += p5-Getopt-Long
SUBDIR += p5-Getopt-Long-Descriptive
diff --git a/devel/p5-Getopt-EX/Makefile b/devel/p5-Getopt-EX/Makefile
new file mode 100644
index 000000000000..68ed628957d8
--- /dev/null
+++ b/devel/p5-Getopt-EX/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= Getopt-EX
+PORTVERSION= 7.1.20170330
+DISTVERSIONPREFIX= v
+CATEGORIES= devel perl5
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= Getopt Extender
+
+LICENSE= ART10
+
+USES= perl5
+USE_PERL5= run
+USE_GITHUB= yes
+GH_TUPLE= kaz-utashiro:greple:084c10e
+NO_BUILD= yes
+NO_ARCH= yes
+
+do-install:
+ cd ${WRKSRC}/lib && \
+ ${COPYTREE_SHARE} Getopt ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Getopt-EX/distinfo b/devel/p5-Getopt-EX/distinfo
new file mode 100644
index 000000000000..025b8dd3ba1b
--- /dev/null
+++ b/devel/p5-Getopt-EX/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1490948040
+SHA256 (kaz-utashiro-greple-v7.1.20170330-084c10e_GH0.tar.gz) = c264281397668b32b71cc9267e93417c2f671108a507210941041f4224781826
+SIZE (kaz-utashiro-greple-v7.1.20170330-084c10e_GH0.tar.gz) = 98548
diff --git a/devel/p5-Getopt-EX/pkg-descr b/devel/p5-Getopt-EX/pkg-descr
new file mode 100644
index 000000000000..cd09281483e6
--- /dev/null
+++ b/devel/p5-Getopt-EX/pkg-descr
@@ -0,0 +1,5 @@
+Getopt::EX extends the basic function of Getopt family to
+support user-definable option aliases, and dynamic module which works
+together with the script through option interface.
+
+WWW: https://github.com/kaz-utashiro/greple/tree/master/lib/Getopt
diff --git a/devel/p5-Getopt-EX/pkg-plist b/devel/p5-Getopt-EX/pkg-plist
new file mode 100644
index 000000000000..5945dd597f9f
--- /dev/null
+++ b/devel/p5-Getopt-EX/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Getopt/EX.pm
+%%SITE_PERL%%/Getopt/EX/Colormap.pm
+%%SITE_PERL%%/Getopt/EX/Func.pm
+%%SITE_PERL%%/Getopt/EX/LabeledParam.pm
+%%SITE_PERL%%/Getopt/EX/Loader.pm
+%%SITE_PERL%%/Getopt/EX/Long.pm
+%%SITE_PERL%%/Getopt/EX/Module.pm