1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/security/sslscan/files/patch-Makefile
Dennis Herrmann 1bafd97ad0 SSLScan is a fast SSL port scanner. SSLScan connects to SSL ports and determines
what ciphers are supported, which are the servers prefered ciphers, which SSL
protocols are supported and returns the SSL certificate. Client certificates and
private key can be configured and output is to text / XML.

PR:		ports/158111
Submitted by:	Matthieu BOUTHORS <matthieu@labs.fr>
2011-06-21 15:52:37 +00:00

23 lines
574 B
Plaintext

--- ./Makefile.orig 2009-09-01 14:35:59.000000000 +0200
+++ ./Makefile 2011-06-21 17:37:30.000000000 +0200
@@ -1,13 +1,14 @@
SRCS = sslscan.c
-BINPATH = /usr/bin/
-MANPATH = /usr/share/man/
+BINPATH = ${PREFIX}/bin/
+MANPATH = ${PREFIX}/man
+CC = ${CC}
all:
- gcc -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS)
+ ${CC} -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS)
install:
- cp sslscan $(BINPATH)
- cp sslscan.1 $(MANPATH)man1
+ install -s -m 755 sslscan $(BINPATH)
+ install -m 644 sslscan.1 $(MANPATH)/man1
uninstall:
rm -f $(BINPATH)sslscan