b7c9106864
- Fix TEST and SAMPLES options - Fix plist - Strip binaries and libraries This port and devel/poco would seem to have been abandoned by the maintainer?
56 lines
1.3 KiB
Makefile
56 lines
1.3 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= 4
|
|
CATEGORIES= devel net
|
|
MASTER_SITES= SF/${PORTNAME}/sources/${PORTNAME}-${PORTVERSION}
|
|
PKGNAMESUFFIX= -ssl
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}p1-all
|
|
|
|
MAINTAINER= wes@FreeBSD.org
|
|
COMMENT= C++ libraries with a network/internet focus (full version)
|
|
|
|
LICENSE= BSL
|
|
|
|
CONFLICTS= poco-[0-9]*
|
|
|
|
USES= gmake tar:bzip2
|
|
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:${PORTSDIR}/databases/libiodbc
|
|
ODBC_CONFIGURE_OFF= --omit=Data/ODBC
|
|
|
|
MYSQL_USE= MYSQL=yes
|
|
MYSQL_CONFIGURE_OFF= --omit=Data/MySQL
|
|
|
|
SQLITE_USE= SQLITE=yes
|
|
SQLITE_CONFIGURE_OFF= --omit=Data/SQLite
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
.if empty(PORT_OPTIONS:MTEST)
|
|
@${REINPLACE_CMD} -e '/^all:/s/tests//' ${WRKSRC}/Makefile
|
|
.endif
|
|
.if empty(PORT_OPTIONS:MSAMPLES)
|
|
@${REINPLACE_CMD} -e '/^all:/s/samples//' ${WRKSRC}/Makefile
|
|
.endif
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*d
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*d.so.*
|
|
|
|
.include <bsd.port.mk>
|