aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-07-28 15:12:50 +0800
committermiwi <miwi@FreeBSD.org>2009-07-28 15:12:50 +0800
commit962fc822fb827bd322ae4ee1966ab9419192d0db (patch)
treee30989f09faf6e8d2bb6a90a74714d292cfab68a
parent758128e7c1ebbe71595e9f080cacbf42d24a806f (diff)
downloadfreebsd-ports-gnome-962fc822fb827bd322ae4ee1966ab9419192d0db.tar.gz
freebsd-ports-gnome-962fc822fb827bd322ae4ee1966ab9419192d0db.tar.zst
freebsd-ports-gnome-962fc822fb827bd322ae4ee1966ab9419192d0db.zip
The same as lib, but makes relative path absolute
WWW: http://search.cpan.org/dist/lib-abs/ PR: ports/136960 Submitted by: Mons Anderson <mons at cpan.org>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-lib-abs/Makefile28
-rw-r--r--devel/p5-lib-abs/distinfo3
-rw-r--r--devel/p5-lib-abs/pkg-descr3
-rw-r--r--devel/p5-lib-abs/pkg-plist6
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index c6671796e05c..86cdee0a590d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2056,6 +2056,7 @@
SUBDIR += p5-forks
SUBDIR += p5-github_creator
SUBDIR += p5-iCal-Parser
+ SUBDIR += p5-lib-abs
SUBDIR += p5-libalarm
SUBDIR += p5-local-lib
SUBDIR += p5-mixin
diff --git a/devel/p5-lib-abs/Makefile b/devel/p5-lib-abs/Makefile
new file mode 100644
index 000000000000..617687fa7d9a
--- /dev/null
+++ b/devel/p5-lib-abs/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-lib-abs
+# Date created: 2009-07-21
+# Whom: Mons Anderson <mons@cpan.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lib-abs
+PORTVERSION= 0.90
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= mons@cpan.org
+COMMENT= Relative use lib in absolute way
+
+PERL_CONFIGURE= yes
+
+MAN3= lib::abs.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500808
+BUILD_DEPENDS+= p5-PathTools>=3.12:${PORTSDIR}/devel/p5-PathTools
+RUN_DEPENDS+= p5-PathTools>=3.12:${PORTSDIR}/devel/p5-PathTools
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-lib-abs/distinfo b/devel/p5-lib-abs/distinfo
new file mode 100644
index 000000000000..546abeb1ab86
--- /dev/null
+++ b/devel/p5-lib-abs/distinfo
@@ -0,0 +1,3 @@
+MD5 (lib-abs-0.90.tar.gz) = 59f07d0372a9d9e3e355f186e8e09602
+SHA256 (lib-abs-0.90.tar.gz) = ff34ca2ee1c675e2a1547aafe8794025f99dba76b846e41cc70cd3be7534b91f
+SIZE (lib-abs-0.90.tar.gz) = 36960
diff --git a/devel/p5-lib-abs/pkg-descr b/devel/p5-lib-abs/pkg-descr
new file mode 100644
index 000000000000..a81dcc53d237
--- /dev/null
+++ b/devel/p5-lib-abs/pkg-descr
@@ -0,0 +1,3 @@
+The same as lib, but makes relative path absolute
+
+WWW: http://search.cpan.org/dist/lib-abs/
diff --git a/devel/p5-lib-abs/pkg-plist b/devel/p5-lib-abs/pkg-plist
new file mode 100644
index 000000000000..14a09a7bab4f
--- /dev/null
+++ b/devel/p5-lib-abs/pkg-plist
@@ -0,0 +1,6 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/lib/abs.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/lib/abs/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/lib/abs
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/lib
+@dirrmtry %%SITE_PERL%%/lib