aboutsummaryrefslogtreecommitdiff
path: root/sysutils/p5-Sys-Hostname-Long
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-04-01 17:13:10 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-04-01 17:13:10 +0000
commit6b36417c29ee1a80478a91c0f2ade111d67e3521 (patch)
tree8a014040f28736a20ff890592a54e882fed241e5 /sysutils/p5-Sys-Hostname-Long
parent0858a4149f5774d7b47584af61647cffab566a9b (diff)
downloadports-6b36417c29ee1a80478a91c0f2ade111d67e3521.tar.gz
ports-6b36417c29ee1a80478a91c0f2ade111d67e3521.zip
Notes
Diffstat (limited to 'sysutils/p5-Sys-Hostname-Long')
-rw-r--r--sysutils/p5-Sys-Hostname-Long/Makefile11
-rw-r--r--sysutils/p5-Sys-Hostname-Long/distinfo4
-rw-r--r--sysutils/p5-Sys-Hostname-Long/pkg-plist8
3 files changed, 18 insertions, 5 deletions
diff --git a/sysutils/p5-Sys-Hostname-Long/Makefile b/sysutils/p5-Sys-Hostname-Long/Makefile
index b04f1fd8f83e..536209f25ea9 100644
--- a/sysutils/p5-Sys-Hostname-Long/Makefile
+++ b/sysutils/p5-Sys-Hostname-Long/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Sys-Hostname-Long
-PORTVERSION= 1.0
+PORTVERSION= 1.2
CATEGORIES= sysutils perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Sys
@@ -19,4 +19,11 @@ PERL_CONFIGURE= yes
MAN3= Sys::Hostname::Long.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ @${PERL} -i -pe 's/}\(/}->(/' ${WRKSRC}/lib/Sys/Hostname/Long.pm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/p5-Sys-Hostname-Long/distinfo b/sysutils/p5-Sys-Hostname-Long/distinfo
index 9a787c25e605..a5ccdc711d39 100644
--- a/sysutils/p5-Sys-Hostname-Long/distinfo
+++ b/sysutils/p5-Sys-Hostname-Long/distinfo
@@ -1,2 +1,2 @@
-MD5 (Sys-Hostname-Long-1.0.tar.gz) = 7d045eb6992aee27df12be696252a94e
-SIZE (Sys-Hostname-Long-1.0.tar.gz) = 2286
+MD5 (Sys-Hostname-Long-1.2.tar.gz) = ae0fb8b0ed821ae2fc8e8009b8732978
+SIZE (Sys-Hostname-Long-1.2.tar.gz) = 4567
diff --git a/sysutils/p5-Sys-Hostname-Long/pkg-plist b/sysutils/p5-Sys-Hostname-Long/pkg-plist
index 8d7f15c0eb5b..c4a4b75b68f2 100644
--- a/sysutils/p5-Sys-Hostname-Long/pkg-plist
+++ b/sysutils/p5-Sys-Hostname-Long/pkg-plist
@@ -1,2 +1,8 @@
%%SITE_PERL%%/Sys/Hostname/Long.pm
-@dirrm %%SITE_PERL%%/Sys/Hostname
+%%SITE_PERL%%/Sys/Hostname/testall.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Hostname/Long/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Hostname/Long
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Hostname 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Sys/Hostname 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Sys 2>/dev/null || true