aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/p5-Sys-Hostname-Long
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2004-04-02 01:13:10 +0800
committermat <mat@FreeBSD.org>2004-04-02 01:13:10 +0800
commit876c255b3bc82b0bcc5058eb62508bb127cd6bf8 (patch)
tree7e742a20092c95c2c4cb410c3ab0469210b97bb6 /sysutils/p5-Sys-Hostname-Long
parent4a1a7bde8c860c62fcb8a14ab7763840fb56481f (diff)
downloadfreebsd-ports-gnome-876c255b3bc82b0bcc5058eb62508bb127cd6bf8.tar.gz
freebsd-ports-gnome-876c255b3bc82b0bcc5058eb62508bb127cd6bf8.tar.zst
freebsd-ports-gnome-876c255b3bc82b0bcc5058eb62508bb127cd6bf8.zip
Update to 1.2
PR: 64821 Submitted by: Tim Bishop <tim@bishnet.net>
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