[120193] trunk/dports/net/masscan/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun May 18 19:04:55 PDT 2014


Revision: 120193
          https://trac.macports.org/changeset/120193
Author:   ryandesign at macports.org
Date:     2014-05-18 19:04:55 -0700 (Sun, 18 May 2014)
Log Message:
-----------
masscan: use github portgroup (#43748); remove commented out dependencies; remove unnecessary pre-destroot xinstall

Modified Paths:
--------------
    trunk/dports/net/masscan/Portfile

Modified: trunk/dports/net/masscan/Portfile
===================================================================
--- trunk/dports/net/masscan/Portfile	2014-05-19 01:53:42 UTC (rev 120192)
+++ trunk/dports/net/masscan/Portfile	2014-05-19 02:04:55 UTC (rev 120193)
@@ -2,10 +2,9 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 
-name                masscan
-version             1.0.3
-revision            0
+github.setup        robertdavidgraham masscan 1.0.3
 categories          net security
 platforms           darwin
 maintainers         yahoo.fr:jul_bsd openmaintainer
@@ -25,31 +24,23 @@
                     flexible, allowing arbitrary address ranges \
                     and port ranges.
 
-homepage            https://github.com/robertdavidgraham/masscan
+# Remove these lines when updating to the next version.
 master_sites        https://github.com/robertdavidgraham/masscan/archive/
 distname            ${version}
 worksrcdir          ${name}-${version}
+# end of lines to remove
 
 checksums           rmd160  ad733d1a7caa772c33712be204a23d9eef792e68 \
                     sha256  331edd529df1904bcbcfb43029ced7e2dafe1744841e74cd9fc9f440b8301085
 
-## https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Mac_OS_X_106x
-#depends_lib         port:pkgconfig port:libnet11 port:libpcap port:pcre \
-
 patchfiles          patch-Makefile.diff
 
 destroot.env        PREFIX=${prefix}
-pre-destroot {
-    xinstall -d ${destroot}${prefix}/bin
-}
 post-destroot {
     xinstall -m 644 ${worksrcpath}/doc/masscan.8 ${destroot}${prefix}/share/man/man8/
 }
 
 use_configure       no
+
 test.run            yes
 test.target         regress
-
-livecheck.type      regex
-livecheck.url       ${homepage}/releases
-livecheck.regex     "<a href=\"/robertdavidgraham/masscan/releases/tag/(\\d+\.\\d+\.\\d+)\">"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140518/adc2b077/attachment.html>


More information about the macports-changes mailing list