# New ports collection makefile for: p5-Class-DBI-Plugin-Type # Date created: Apr 3 2004 # Whom: Lars Thegler # # $FreeBSD$ PORTNAME= Class-DBI-Plugin-Type PORTVERSION= 0.02 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Class PKGNAMEPREFIX= p5- MAINTAINER= lth@FreeBSD.org COMMENT= Determine type information for columns BUILD_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes MAN3= Class::DBI::Plugin::Type.3 .include .if ${PERL_LEVEL} < 500600 post-patch: ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \ -e '$$_="" if /use warnings/;' \ ${WRKSRC}/Type.pm post-configure: ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile .endif .include