d2ca14a3f1
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
33 lines
862 B
Makefile
33 lines
862 B
Makefile
# $NetBSD: Makefile,v 1.30 2013/05/31 12:41:08 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= GraphViz-2.04
|
|
PKGNAME= p5-${DISTNAME}
|
|
PKGREVISION= 4
|
|
CATEGORIES= graphics perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=GraphViz/}
|
|
|
|
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"
|