mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
f9e9cc913f
- Add stage support - Convert WITH_DEBUG to option - Remove MAINTAINER_MODE - Remove now needless stripping in post-install security/qca-*: - Convert LIB_DEPENDS to new style - Add stage support - Convert WITH_DEBUG to option - Remove now needless stripping in post-install
40 lines
880 B
Makefile
40 lines
880 B
Makefile
# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qca
|
|
PORTVERSION= 2.0.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://delta.affinix.com/download/qca/2.0/
|
|
DISTNAME= qca-${PORTVERSION}
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Cross-platform crypto API for Qt
|
|
|
|
USE_BZIP2= yes
|
|
USE_QT4= corelib qmake_build moc_build
|
|
HAS_CONFIGURE= yes
|
|
QT_NONSTANDARD= yes
|
|
CONFIGURE_ARGS+=--prefix=${PREFIX} \
|
|
--disable-tests
|
|
CONFIGURE_ENV+= QMAKESPEC=${QMAKESPEC}
|
|
USE_OPENSSL= yes
|
|
USE_LDCONFIG= yes
|
|
DESTDIRNAME= INSTALL_ROOT
|
|
|
|
.if defined(PACKAGE_BUILDING)
|
|
CONFIGURE_ENV+= QC_VERBOSE=Y
|
|
.endif
|
|
|
|
OPTIONS_DEFINE= DEBUG
|
|
OPTIONS_SUB= yes
|
|
|
|
DEBUG_CONFIGURE_ON= --debug
|
|
DEBUG_CONFIGURE_OFF= --release --no-separate-debug-info
|
|
|
|
pre-configure:
|
|
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/configure
|
|
${MKDIR} ${WRKSRC}/libdata/pkgconfig
|
|
|
|
.include <bsd.port.mk>
|