1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/security/sslscan/Makefile
Gavin Atkinson ac60275dfa Switch security/sslscan to the official way for handling "GitHub release
plus upstream patches", as documented in the Porter's Handbook, ex 5.14.

Reported by:	mat
Reviewed by:	mat
Approved by:	mat
2018-08-17 12:32:15 +00:00

38 lines
1001 B
Makefile

# Created by: Matthieu BOUTHORS <matthieu@labs.fr>
# $FreeBSD$
PORTNAME= sslscan
DISTVERSION= 1.11.11-16
DISTVERSIONSUFFIX= -g96ad4ff
CATEGORIES= security
MAINTAINER= gavin@FreeBSD.org
COMMENT= SSLScan is a fast SSL port scanner
LICENSE= GPLv3
OPTIONS_DEFINE= UNSAFESSL
OPTIONS_DEFAULT_amd64= UNSAFESSL
UNSAFESSL_DESC= Use openssl-unsafe as libssl provider (SSLv2 etc.)
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= rbsec
UNSAFESSL_USES_OFF= ssl
UNSAFESSL_BUILD_DEPENDS= ${LOCALBASE}/openssl-unsafe/lib/libssl.so:security/openssl-unsafe
UNSAFESSL_RUN_DEPENDS= ${UNSAFESSL_BUILD_DEPENDS}
UNSAFESSL_CFLAGS= -I${LOCALBASE}/openssl-unsafe/include \
-Wl,-rpath,${LOCALBASE}/openssl-unsafe/lib
UNSAFESSL_LDFLAGS= -L${LOCALBASE}/openssl-unsafe/lib \
-Wl,-rpath,${LOCALBASE}/openssl-unsafe/lib
UNSAFESSL_ALL_TARGET= sslscan
.include <bsd.port.pre.mk>
.if empty(PORT_OPTIONS:MUNSAFESSL) && ${SSL_DEFAULT:Mopenssl-devel}
BROKEN= Does not build with openssl-devel
.endif
.include <bsd.port.post.mk>