mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
d1850a3d8c
Use DISTVERSION in place of DISTNAME where possible. Remove perl 5.005 shims.
30 lines
750 B
Makefile
30 lines
750 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
|
|
DISTVERSION= ${PORTVERSION:C/\.(.)$/\1/}
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
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>
|