aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-SWF-File
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2013-07-28 00:06:25 +0800
committeraz <az@FreeBSD.org>2013-07-28 00:06:25 +0800
commit0a9e5efb9de6b8811964b263c03b83ec89719f71 (patch)
treeaf6266e338105f6caa968f90afd0c4e98288d6f5 /graphics/p5-SWF-File
parent161ee4e405ddee7d6c945754c827684829ef8e90 (diff)
downloadfreebsd-ports-gnome-0a9e5efb9de6b8811964b263c03b83ec89719f71.tar.gz
freebsd-ports-gnome-0a9e5efb9de6b8811964b263c03b83ec89719f71.tar.zst
freebsd-ports-gnome-0a9e5efb9de6b8811964b263c03b83ec89719f71.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@)
Diffstat (limited to 'graphics/p5-SWF-File')
-rw-r--r--graphics/p5-SWF-File/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/graphics/p5-SWF-File/Makefile b/graphics/p5-SWF-File/Makefile
index 6768113f1c39..68ca8bd49c3d 100644
--- a/graphics/p5-SWF-File/Makefile
+++ b/graphics/p5-SWF-File/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: SWF-File
-# Date created: 20 May 2003
-# Whom: Sergey Skvortsov <skv@protey.ru>
-#
+# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
-#
PORTNAME= SWF-File
PORTVERSION= 0.42
@@ -20,15 +16,12 @@ RUN_DEPENDS= p5-Data-TemporaryBag>=0:${PORTSDIR}/devel/p5-Data-TemporaryBag
BUILD_DEPENDS= p5-Data-TemporaryBag>=0:${PORTSDIR}/devel/p5-Data-TemporaryBag
PERL_CONFIGURE= yes
+USE_DOS2UNIX= yes
MAN3= SWF::BinStream.3 SWF::BinStream::Codec.3 \
SWF::BinStream::Codec::Zlib.3 SWF::BinStream::File.3 \
SWF::Element.3 SWF::File.3 SWF::Parser.3
-post-patch:
- @${FIND} ${WRKSRC} -type f |\
- ${XARGS} ${PERL} -pi -e 's/\x0d(?=\x0a)//'
-
post-configure:
@${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile