1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/databases/p5-GraphViz-DBI/Makefile
Ade Lovett 7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00

33 lines
799 B
Makefile

# New ports collection makefile for: databases/p5-GraphViz-DBI
# Date created: 10 October 2001
# Whom: tobez
#
# $FreeBSD$
#
PORTNAME= GraphViz-DBI
PORTVERSION= 0.01
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= GraphViz
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= GraphViz::DBI - graph database tables and relations
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/GraphViz.pm:${PORTSDIR}/graphics/p5-GraphViz
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= GraphViz::DBI.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
post-patch:
${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
-e '$$_="" if /require 5/;' \
-e '$$_="" if /use warnings/;' \
${WRKSRC}/DBI.pm
.include <bsd.port.mk>