pkgsrc/graphics/p5-GraphViz/Makefile
nia d5c846b3af Update packages using a search.cpan.org HOMEPAGE to metacpan.org.
The former now redirects to the latter.

This covers the most simple cases where http://search.cpan.org/dist/name
can be changed to https://metacpan.org/release/name.

Reviewed by hand to hopefully make sure no unwanted changes sneak in.
2019-06-30 20:14:13 +00:00

34 lines
963 B
Makefile

# $NetBSD: Makefile,v 1.40 2019/06/30 20:16:10 nia Exp $
DISTNAME= GraphViz-2.24
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/R/RS/RSAVAGE/}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://metacpan.org/release/GraphViz
COMMENT= Perl interface to the Graphviz tools set
LICENSE= ${PERL5_LICENSE}
# This is for the 'test' target
BUILD_DEPENDS+= p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod
BUILD_DEPENDS+= p5-File-Which-[0-9]*:../../devel/p5-File-Which
USE_TOOLS+= pax
DEPENDS+= p5-IPC-Run>=0.6:../../devel/p5-IPC-Run
DEPENDS+= graphviz-[0-9]*:../../graphics/graphviz
PERL5_PACKLIST= auto/GraphViz/.packlist
INSTALLATION_DIRS= share/examples/p5-GraphViz
REPLACE_PERL+= examples/*
post-install:
cd ${WRKSRC}/examples && \
pax -pm -rw . ${DESTDIR}${PREFIX}/share/examples/p5-GraphViz
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"