mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
aeac01a4bb
Approved by: portmgr (not really, but touches unstaged ports)
40 lines
881 B
Makefile
40 lines
881 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
|
|
|
|
USES= tar:bzip2
|
|
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>
|