freebsd-ports/devel/p5-DateTime-Format-DBI/Makefile
Erwin Lansing 19e0a33144 Remove 4.x workaround.
Approved by:	maintainer (apriori)
2007-06-18 10:15:05 +00:00

30 lines
808 B
Makefile

# New ports collection makefile for: p5-DateTime-Format-DBI
# Date created: 2 july 2003
# Whom: Mathieu Arnold <m@absolight.net>
#
# $FreeBSD$
#
PORTNAME= DateTime-Format-DBI
PORTVERSION= 0.03.1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DateTime
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(.)$/\1/}
MAINTAINER= mat@FreeBSD.org
COMMENT= Find a parser class for a database connection
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= DateTime::Format::DBI.3
post-patch:
@${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/' ${WRKSRC}/lib/DateTime/Format/DBI.pm
.include <bsd.port.mk>