aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-Net-SNPP
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2013-07-26 18:46:37 +0800
committeraz <az@FreeBSD.org>2013-07-26 18:46:37 +0800
commit425a912423003f8cf48eb9dc516a4d77b8a20cf2 (patch)
tree4e432cd7adf68b48f6abe895819485849ed8f886 /net/p5-Net-SNPP
parent1079766f17b5d6a4c7cf98bd67a211c4e64e0017 (diff)
downloadfreebsd-ports-gnome-425a912423003f8cf48eb9dc516a4d77b8a20cf2.tar.gz
freebsd-ports-gnome-425a912423003f8cf48eb9dc516a4d77b8a20cf2.tar.zst
freebsd-ports-gnome-425a912423003f8cf48eb9dc516a4d77b8a20cf2.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 'net/p5-Net-SNPP')
-rw-r--r--net/p5-Net-SNPP/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/net/p5-Net-SNPP/Makefile b/net/p5-Net-SNPP/Makefile
index bda56850d09e..02137d90a0f1 100644
--- a/net/p5-Net-SNPP/Makefile
+++ b/net/p5-Net-SNPP/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: Net-SNPP
-# Date created: 6 Jun 2002
-# Whom: devin@spamcop.net
-#
+# Created by: devin@spamcop.net
# $FreeBSD$
-#
PORTNAME= Net-SNPP
PORTVERSION= 1.17
@@ -20,8 +16,7 @@ MAN3= Net::SNPP.3 \
Net::SNPP::Server.3
post-patch:
- @${PERL} -pi -e '$$_="" if /warnings/;' \
+ @${REINPLACE_CMD} -i '' -e '/warnings/d' \
${WRKSRC}/lib/Net/SNPP/Server.pm
- @${RM} ${WRKSRC}/lib/Net/SNPP/Server.pm.orig
.include <bsd.port.mk>