090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
31 lines
687 B
Makefile
31 lines
687 B
Makefile
# New ports collection makefile for: databases/p5-GraphViz-DBI
|
|
# Date created: 10 October 2001
|
|
# Whom: tobez
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= GraphViz-DBI
|
|
PORTVERSION= 0.02
|
|
PORTREVISION= 2
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= tobez@FreeBSD.org
|
|
COMMENT= GraphViz::DBI - graph database tables and relations
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/GraphViz.pm:${PORTSDIR}/graphics/p5-GraphViz
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= GraphViz::DBI.3
|
|
|
|
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>
|