7eeb51b534
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
33 lines
900 B
Makefile
33 lines
900 B
Makefile
# $NetBSD: Makefile,v 1.32 2014/05/29 23:36:40 wiz Exp $
|
|
|
|
DISTNAME= GraphViz-2.14
|
|
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= http://search.cpan.org/dist/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
|
|
|
|
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"
|