aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2006-09-08 00:42:25 +0800
committerskv <skv@FreeBSD.org>2006-09-08 00:42:25 +0800
commitd4dc1f925137cd3f36b41da314d760616d150f6f (patch)
treeb13b65517717d699b4fa1a2f396796869d9be23d
parent0601cef3e8ebc8445b15b43121dbc538963666f5 (diff)
downloadfreebsd-ports-gnome-d4dc1f925137cd3f36b41da314d760616d150f6f.tar.gz
freebsd-ports-gnome-d4dc1f925137cd3f36b41da314d760616d150f6f.tar.zst
freebsd-ports-gnome-d4dc1f925137cd3f36b41da314d760616d150f6f.zip
Fix plist.
Pointed by: pointyhat (kris)
-rw-r--r--math/p5-Math-Random/Makefile5
-rw-r--r--math/p5-Math-Random/pkg-plist1
2 files changed, 5 insertions, 1 deletions
diff --git a/math/p5-Math-Random/Makefile b/math/p5-Math-Random/Makefile
index 531185ee9e73..b9e311d62266 100644
--- a/math/p5-Math-Random/Makefile
+++ b/math/p5-Math-Random/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Math-Random
PORTVERSION= 0.68
+PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Math
@@ -19,4 +20,8 @@ PERL_CONFIGURE= yes
MAN3= Math::Random.3
+post-patch:
+ @${RM} ${WRKSRC}/*.pl
+ @${REINPLACE_CMD} -e '/test/d' ${WRKSRC}/Makefile.PL
+
.include <bsd.port.mk>
diff --git a/math/p5-Math-Random/pkg-plist b/math/p5-Math-Random/pkg-plist
index 92c9fb15973d..d32a7eef2b98 100644
--- a/math/p5-Math-Random/pkg-plist
+++ b/math/p5-Math-Random/pkg-plist
@@ -1,5 +1,4 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Math/Random.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Math/example.pl
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Random/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Random/Random.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Random/Random.so