summaryrefslogtreecommitdiffstats
path: root/devel/p5-Class-Contract/Makefile
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2013-07-27 16:06:25 +0000
committeraz <az@FreeBSD.org>2013-07-27 16:06:25 +0000
commit0a9e5efb9de6b8811964b263c03b83ec89719f71 (patch)
treeaf6266e338105f6caa968f90afd0c4e98288d6f5 /devel/p5-Class-Contract/Makefile
parent161ee4e405ddee7d6c945754c827684829ef8e90 (diff)
downloadFreeBSD-ports-0a9e5efb9de6b8811964b263c03b83ec89719f71.zip
FreeBSD-ports-0a9e5efb9de6b8811964b263c03b83ec89719f71.tar.gz
- switch simple inline replacement from perl to sed
and remove where is no need in this anymore. - trim Makefile header Approved by: bapt@ (portmrg@)
Diffstat (limited to 'devel/p5-Class-Contract/Makefile')
-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 0e1d682..2c435cd 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
OpenPOWER on IntegriCloud