diff options
author | mat <mat@FreeBSD.org> | 2004-04-02 01:13:10 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2004-04-02 01:13:10 +0800 |
commit | 876c255b3bc82b0bcc5058eb62508bb127cd6bf8 (patch) | |
tree | 7e742a20092c95c2c4cb410c3ab0469210b97bb6 /sysutils/p5-Sys-Hostname-Long | |
parent | 4a1a7bde8c860c62fcb8a14ab7763840fb56481f (diff) | |
download | freebsd-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/Makefile | 11 | ||||
-rw-r--r-- | sysutils/p5-Sys-Hostname-Long/distinfo | 4 | ||||
-rw-r--r-- | sysutils/p5-Sys-Hostname-Long/pkg-plist | 8 |
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 |