summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/p5-Graphics-ColorNames/Makefile20
-rw-r--r--graphics/p5-Graphics-ColorNames/distinfo6
-rw-r--r--graphics/p5-Graphics-ColorNames/pkg-plist4
3 files changed, 10 insertions, 20 deletions
diff --git a/graphics/p5-Graphics-ColorNames/Makefile b/graphics/p5-Graphics-ColorNames/Makefile
index 7c247e2..480eebd 100644
--- a/graphics/p5-Graphics-ColorNames/Makefile
+++ b/graphics/p5-Graphics-ColorNames/Makefile
@@ -6,30 +6,24 @@
#
PORTNAME= Graphics-ColorNames
-PORTVERSION= 1.06
-PORTREVISION= 1
+PORTVERSION= 2.04
+PORTREVISION= 0
CATEGORIES= graphics perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= Graphics
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= perl@FreeBSD.org
COMMENT= A perl class that defines RGB values for common color names
-BUILD_DEPENDS= ${SITE_PERL}/Module/Load.pm:${PORTSDIR}/devel/p5-Module-Load
+BUILD_DEPENDS= p5-Module-Load>=0.10:${PORTSDIR}/devel/p5-Module-Load
RUN_DEPENDS= ${BUILD_DEPENDS}
-PERL_CONFIGURE= yes
+PERL_MODBUILD= yes
MAN3= Graphics::ColorNames.3 \
Graphics::ColorNames::HTML.3 \
Graphics::ColorNames::Netscape.3 \
Graphics::ColorNames::Windows.3 \
- Graphics::ColorNames::X.3 \
- Graphics::ColourNames.3
-
-post-patch:
- @${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/' \
- ${WRKSRC}/lib/Graphics/ColorNames.pm
+ Graphics::ColorNames::X.3
.include <bsd.port.mk>
diff --git a/graphics/p5-Graphics-ColorNames/distinfo b/graphics/p5-Graphics-ColorNames/distinfo
index 3939712..8c97a4c 100644
--- a/graphics/p5-Graphics-ColorNames/distinfo
+++ b/graphics/p5-Graphics-ColorNames/distinfo
@@ -1,3 +1,3 @@
-MD5 (Graphics-ColorNames-1.06.tar.gz) = 0551cb0b17babcbdef284d5b502731a4
-SHA256 (Graphics-ColorNames-1.06.tar.gz) = c182d8bf1c941188247f56b43c747676b32b430a5d59aa456f4e1b78266ec075
-SIZE (Graphics-ColorNames-1.06.tar.gz) = 21851
+MD5 (Graphics-ColorNames-2.04.tar.gz) = c8ff31d817563a58934873892cf53501
+SHA256 (Graphics-ColorNames-2.04.tar.gz) = 7c1a912ee755fb46a62a66ab935498ed5b4097a2f150caa93f2ceda32889e8a4
+SIZE (Graphics-ColorNames-2.04.tar.gz) = 19193
diff --git a/graphics/p5-Graphics-ColorNames/pkg-plist b/graphics/p5-Graphics-ColorNames/pkg-plist
index 6a7344a..c53a993 100644
--- a/graphics/p5-Graphics-ColorNames/pkg-plist
+++ b/graphics/p5-Graphics-ColorNames/pkg-plist
@@ -3,9 +3,5 @@
%%SITE_PERL%%/Graphics/ColorNames/Netscape.pm
%%SITE_PERL%%/Graphics/ColorNames/Windows.pm
%%SITE_PERL%%/Graphics/ColorNames/X.pm
-%%SITE_PERL%%/Graphics/ColourNames.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/ColorNames/.packlist
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/ColorNames
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics
@dirrm %%SITE_PERL%%/Graphics/ColorNames
@dirrmtry %%SITE_PERL%%/Graphics
OpenPOWER on IntegriCloud