diff options
author | Lars Thegler <lth@FreeBSD.org> | 2004-10-24 22:30:47 +0000 |
---|---|---|
committer | Lars Thegler <lth@FreeBSD.org> | 2004-10-24 22:30:47 +0000 |
commit | 10ebf7e9604f4f08723094112253d693d7843a88 (patch) | |
tree | d261f8b213f924f8f6c90cd97b5dea6911b4a860 /databases/p5-Class-DBI-DATA-Schema/Makefile | |
parent | 9568978f9cd021929d2fbb8f806822150a6567e8 (diff) | |
download | ports-10ebf7e9604f4f08723094112253d693d7843a88.tar.gz ports-10ebf7e9604f4f08723094112253d693d7843a88.zip |
Notes
Diffstat (limited to 'databases/p5-Class-DBI-DATA-Schema/Makefile')
-rw-r--r-- | databases/p5-Class-DBI-DATA-Schema/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/databases/p5-Class-DBI-DATA-Schema/Makefile b/databases/p5-Class-DBI-DATA-Schema/Makefile new file mode 100644 index 000000000000..fba54cf6a0c9 --- /dev/null +++ b/databases/p5-Class-DBI-DATA-Schema/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: databases/p5-Class-DBI-DATA-Schema +# Date created: 24 October 2004 +# Whom: Lars Thegler <lth@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Class-DBI-DATA-Schema +PORTVERSION= 0.04 +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Class +PKGNAMEPREFIX= p5- + +MAINTAINER= lth@FreeBSD.org +COMMENT= Execute Class::DBI SQL from DATA sections + +BUILD_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Class::DBI::DATA::Schema.3 + +.include <bsd.port.pre.mk> +.if ${PERL_LEVEL} <= 500503 +post-patch: + ${PERL} -pi -e '$$_ = "" if /use warnings/;' \ + -e '$$_ = "" if /ABSTRACT_FROM/;' \ + -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \ + ${WRKSRC}/Makefile.PL \ + ${WRKSRC}/lib/Class/DBI/DATA/Schema.pm +.endif +.include <bsd.port.post.mk> |