mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
# Created by: Vsevolod Stakhov <vsevolod@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libressl
|
|
PORTVERSION= 3.0.2
|
|
CATEGORIES= security devel
|
|
MASTER_SITES= OPENBSD/LibreSSL
|
|
|
|
MAINTAINER= brnrd@FreeBSD.org
|
|
COMMENT= Free version of the SSL/TLS protocol forked from OpenSSL
|
|
|
|
LICENSE= BSD4CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
CPE_VENDOR= openbsd
|
|
|
|
OPTIONS_DEFINE= MAN3 NC
|
|
OPTIONS_DEFAULT= MAN3 NC
|
|
MAN3_DESC= Install API manpages (section 3)
|
|
NC_DESC= Install TLS-enabled netcat
|
|
|
|
CONFLICTS_INSTALL= libressl-devel-[0-9]* \
|
|
openssl-[0-9]* \
|
|
openssl-devel-[0-9]*
|
|
|
|
NC_CONFIGURE_ENABLE= nc
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= cpe libtool pathfix pkgconfig
|
|
USE_LDCONFIG= yes
|
|
OPTIONS_SUB= yes
|
|
CFLAGS+= -fpic -DPIC -Wl,-rpath,${PREFIX}/lib -Wl,--as-needed
|
|
LDFLAGS+= -pthread
|
|
|
|
INSTALL_TARGET= install-strip
|
|
TEST_TARGET= check
|
|
|
|
post-patch-MAN3-off:
|
|
${REINPLACE_CMD} -e '/^install-man:/s/install-man3//' \
|
|
-e '/$$(MAKE) $$(AM_MAKEFLAGS) install-data-hook/d' \
|
|
${WRKSRC}/man/Makefile.in
|
|
|
|
post-install:
|
|
${RM} -r ${STAGEDIR}/${PREFIX}/etc/ssl/cert.pem
|
|
|
|
.include <bsd.port.mk>
|