aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Class-Contract
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-07-27 16:06:25 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-07-27 16:06:25 +0000
commitb47325edb2d93a726b151ae81f7ecd3c183f0565 (patch)
treeaf6266e338105f6caa968f90afd0c4e98288d6f5 /devel/p5-Class-Contract
parent413424ee99f55dc8d1d442dfc594daa157055a7b (diff)
downloadports-b47325edb2d93a726b151ae81f7ecd3c183f0565.tar.gz
ports-b47325edb2d93a726b151ae81f7ecd3c183f0565.zip
- switch simple inline replacement from perl to sed
and remove where is no need in this anymore. - trim Makefile header Approved by: bapt@ (portmrg@)
Notes
Notes: svn path=/head/; revision=323795
Diffstat (limited to 'devel/p5-Class-Contract')
-rw-r--r--devel/p5-Class-Contract/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/devel/p5-Class-Contract/Makefile b/devel/p5-Class-Contract/Makefile
index 0e1d682bf757..2c435cdf69c4 100644
--- a/devel/p5-Class-Contract/Makefile
+++ b/devel/p5-Class-Contract/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: Class::Contract
-# Date created: 5 Nov 2001
-# Whom: Sergey Skvortsov <skv@protey.ru>
-#
+# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
-#
PORTNAME= Class-Contract
PORTVERSION= 1.14
@@ -15,14 +11,11 @@ MAINTAINER= perl@FreeBSD.org
COMMENT= Design-by-Contract OO in Perl
PERL_CONFIGURE= yes
+USE_DOS2UNIX= yes
PLIST_SUB+= EXAMPLESDIR="share/examples/${PORTNAME}"
MAN3= Class::Contract.3 Class::Contract::Production.3
-post-patch:
- @${FIND} ${WRKSRC} -type f -name "*.p[lm]" | \
- ${XARGS} ${PERL} -pi -e 's/\x0d//g;'
-
pre-configure:
${MKDIR} ${WRKSRC}/examples
${MV} ${WRKSRC}/demo.pl ${WRKSRC}/examples