[120192] trunk/dports/net/masscan
ryandesign at macports.org
ryandesign at macports.org
Sun May 18 18:53:42 PDT 2014
Revision: 120192
https://trac.macports.org/changeset/120192
Author: ryandesign at macports.org
Date: 2014-05-18 18:53:42 -0700 (Sun, 18 May 2014)
Log Message:
-----------
masscan: use patchfile instead of reinplace
Modified Paths:
--------------
trunk/dports/net/masscan/Portfile
Added Paths:
-----------
trunk/dports/net/masscan/files/
trunk/dports/net/masscan/files/patch-Makefile.diff
Modified: trunk/dports/net/masscan/Portfile
===================================================================
--- trunk/dports/net/masscan/Portfile 2014-05-19 01:33:56 UTC (rev 120191)
+++ trunk/dports/net/masscan/Portfile 2014-05-19 01:53:42 UTC (rev 120192)
@@ -36,9 +36,7 @@
## https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Mac_OS_X_106x
#depends_lib port:pkgconfig port:libnet11 port:libpcap port:pcre \
-post-patch {
- reinplace "s|install -pDm755|install -pm755|" ${worksrcpath}/Makefile
-}
+patchfiles patch-Makefile.diff
destroot.env PREFIX=${prefix}
pre-destroot {
Added: trunk/dports/net/masscan/files/patch-Makefile.diff
===================================================================
--- trunk/dports/net/masscan/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/net/masscan/files/patch-Makefile.diff 2014-05-19 01:53:42 UTC (rev 120192)
@@ -0,0 +1,10 @@
+--- Makefile.orig 2014-01-31 18:12:40.000000000 -0600
++++ Makefile 2014-05-18 20:52:10.000000000 -0500
+@@ -100,6 +100,6 @@
+ bin/masscan --selftest
+
+ install: bin/masscan
+- install -pDm755 bin/masscan $(DESTDIR)$(BINDIR)/masscan
++ install -pm755 bin/masscan $(DESTDIR)$(BINDIR)/masscan
+
+ default: bin/masscan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140518/415e8db2/attachment.html>
More information about the macports-changes
mailing list