1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/devel/poco-ssl/Makefile
Mathieu Arnold a28f0f7f7f Remove all USE_OPENSSL occurrences.
Sponsored by:	Absolight
2017-03-15 14:45:30 +00:00

57 lines
1.4 KiB
Makefile

# Created by: Wes Peters <wes@FreeBSD.org>
# $FreeBSD$
PORTNAME= poco
# New version 1.4.6p4 is available; please use DISTVERSION upon updating
PORTVERSION= 1.4.3
PORTREVISION= 5
CATEGORIES= devel net
MASTER_SITES= SF/${PORTNAME}/sources/${PORTNAME}-${PORTVERSION}
PKGNAMESUFFIX= -ssl
DISTNAME= ${PORTNAME}-${PORTVERSION}p1-all
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ libraries with a network/internet focus (full version)
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE
CONFLICTS= poco-[0-9]*
USES= gmake tar:bzip2 ssl
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --config=FreeBSD
USE_LDCONFIG= yes
OPTIONS_DEFINE= TEST SAMPLES MYSQL SQLITE ODBC
OPTIONS_DEFAULT=MYSQL SQLITE
OPTIONS_SUB= yes
SAMPLES_DESC= Build sample programs
TEST_CONFIGURE_OFF= --no-tests
SAMPLES_CONFIGURE_OFF= --no-samples
ODBC_LIB_DEPENDS= libodbc.so:databases/libiodbc
ODBC_CONFIGURE_OFF= --omit=Data/ODBC
MYSQL_USE= MYSQL=yes
MYSQL_CONFIGURE_OFF= --omit=Data/MySQL
SQLITE_USES= sqlite
SQLITE_CONFIGURE_OFF= --omit=Data/SQLite
post-extract:
@${RM} -f ${WRKSRC}/Foundation/include/Poco/._Version.h
post-patch-TEST-off:
@${REINPLACE_CMD} -e '/^all:/s/tests//' ${WRKSRC}/Makefile
post-patch-SAMPLES-off:
@${REINPLACE_CMD} -e '/^all:/s/samples//' ${WRKSRC}/Makefile
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*d
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*d.so.*
.include <bsd.port.mk>