[58714] trunk/dports/net

toby at macports.org toby at macports.org
Sat Oct 3 01:03:49 PDT 2009


Revision: 58714
          http://trac.macports.org/changeset/58714
Author:   toby at macports.org
Date:     2009-10-03 01:03:46 -0700 (Sat, 03 Oct 2009)
Log Message:
-----------
add sslscan port (#21788)

Added Paths:
-----------
    trunk/dports/net/sslscan/
    trunk/dports/net/sslscan/Portfile
    trunk/dports/net/sslscan/files/
    trunk/dports/net/sslscan/files/patch-Makefile

Added: trunk/dports/net/sslscan/Portfile
===================================================================
--- trunk/dports/net/sslscan/Portfile	                        (rev 0)
+++ trunk/dports/net/sslscan/Portfile	2009-10-03 08:03:46 UTC (rev 58714)
@@ -0,0 +1,34 @@
+# $Id$
+
+PortSystem 1.0
+
+name            sslscan
+version         1.8.2
+categories      net
+maintainers     nomaintainer
+description     ...
+long_description \
+    ...
+homepage        http://test.titania.co.uk/index.php?option=com_content&view=article&id=56&Itemid=68
+platforms       darwin
+license         GPLv3
+
+depends_lib     port:openssl
+
+master_sites    sourceforge
+extract.suffix  .tgz
+checksums       md5 1a890d031996ab252efb535511bd58db \
+                sha1 4982ff622ca1f05829a3910be5e3903e91cfdd68 \
+                rmd160 a048d3a29d56b34a0fb2ea8e5a5dc2ba3e773d76
+
+patchfiles      patch-Makefile
+
+configure {
+    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/Makefile
+    reinplace "s|__CC__|${configure.cc}|" ${worksrcpath}/Makefile
+}
+
+destroot {
+    xinstall -m 0755 ${worksrcpath}/sslscan ${destroot}${prefix}/bin
+    xinstall -m 0644 ${worksrcpath}/sslscan.1 ${destroot}${prefix}/share/man/man1
+}


Property changes on: trunk/dports/net/sslscan/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: trunk/dports/net/sslscan/files/patch-Makefile
===================================================================
--- trunk/dports/net/sslscan/files/patch-Makefile	                        (rev 0)
+++ trunk/dports/net/sslscan/files/patch-Makefile	2009-10-03 08:03:46 UTC (rev 58714)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2009-10-03 00:52:43.000000000 -0700
++++ Makefile	2009-10-03 00:53:56.000000000 -0700
+@@ -3,7 +3,7 @@
+ MANPATH = /usr/share/man/
+ 
+ all:
+-	gcc -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS)
++	__CC__ -g -Wall -L__PREFIX__/lib -lssl -lcrypto -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS)
+ 
+ install:
+ 	cp sslscan $(BINPATH)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091003/13b893ab/attachment.html>


More information about the macports-changes mailing list