aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-SQL-Statement/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-05-24 05:51:15 +0800
committerkrion <krion@FreeBSD.org>2004-05-24 05:51:15 +0800
commitcfa4b7946c3798f3b97ab266be4169efc63689a1 (patch)
tree58a134f929539c2d4c71fe1995c5e160e97f123a /databases/p5-SQL-Statement/Makefile
parente6029e6e4a7e26ba7805fa55babee8db02dd0391 (diff)
downloadfreebsd-ports-gnome-cfa4b7946c3798f3b97ab266be4169efc63689a1.tar.gz
freebsd-ports-gnome-cfa4b7946c3798f3b97ab266be4169efc63689a1.tar.zst
freebsd-ports-gnome-cfa4b7946c3798f3b97ab266be4169efc63689a1.zip
- Update to version 1.09
PR: ports/67100 Submitted by: Lars Thegler <lars at thegler dot dk>
Diffstat (limited to 'databases/p5-SQL-Statement/Makefile')
-rw-r--r--databases/p5-SQL-Statement/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/databases/p5-SQL-Statement/Makefile b/databases/p5-SQL-Statement/Makefile
index fde27c99d220..8ef48add1533 100644
--- a/databases/p5-SQL-Statement/Makefile
+++ b/databases/p5-SQL-Statement/Makefile
@@ -6,13 +6,13 @@
#
PORTNAME= SQL-Statement
-PORTVERSION= 1.005
+PORTVERSION= 1.09
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= SQL
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= lars@thegler.dk
COMMENT= A perl5 module for SQL parsing and processing
PERL_CONFIGURE= yes
@@ -20,4 +20,14 @@ PERL_CONFIGURE= yes
MAN3= SQL::Dialects::ANSI.3 SQL::Dialects::AnyData.3 \
SQL::Dialects::CSV.3 SQL::Eval.3 SQL::Parser.3 SQL::Statement.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} <= 500503
+
+# make PREFIX-clean under perl 5.005_03
+# remove DOS line-endings that confuses poor old pod2man
+post-configure:
+ ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile
+ ${PERL} -pi -e 's,\r\n,\n,' `${FIND} ${WRKSRC} -type f`
+
+.endif
+.include <bsd.port.post.mk>