aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2014-02-20 13:23:50 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2014-02-20 13:23:50 +0000
commitf9e9cc913fc0d58254c32c8cac6ebf07d9e340f9 (patch)
tree8e728bbb655c20157b0d325a47fae4dbd626769d /devel
parent76a7555e768fde706167aff1dfa998c94fa3aea0 (diff)
downloadports-f9e9cc913fc0d58254c32c8cac6ebf07d9e340f9.tar.gz
ports-f9e9cc913fc0d58254c32c8cac6ebf07d9e340f9.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/qca/Makefile28
-rw-r--r--devel/qca/pkg-plist1
2 files changed, 9 insertions, 20 deletions
diff --git a/devel/qca/Makefile b/devel/qca/Makefile
index 2693fa55d8c3..9be8115205e8 100644
--- a/devel/qca/Makefile
+++ b/devel/qca/Makefile
@@ -9,43 +9,31 @@ MASTER_SITES= http://delta.affinix.com/download/qca/2.0/
DISTNAME= qca-${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
-COMMENT= Cross-platform crypto API for QT
+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}
+CONFIGURE_ARGS+=--prefix=${PREFIX} \
+ --disable-tests
CONFIGURE_ENV+= QMAKESPEC=${QMAKESPEC}
USE_OPENSSL= yes
USE_LDCONFIG= yes
-
-MAN1= qcatool2.1
+DESTDIRNAME= INSTALL_ROOT
.if defined(PACKAGE_BUILDING)
CONFIGURE_ENV+= QC_VERBOSE=Y
.endif
-.if defined(MAINTAINER_MODE)
-USE_QT4+= qtestlib
-.else
-CONFIGURE_ARGS+=--disable-tests
-.endif
+OPTIONS_DEFINE= DEBUG
+OPTIONS_SUB= yes
-.if !defined(WITH_DEBUG)
-CONFIGURE_ARGS+=--release --no-separate-debug-info
-PLIST_SUB+= DEBUG="@comment "
-.else
-CONFIGURE_ARGS+=--debug
-PLIST_SUB+= DEBUG=""
-.endif
+DEBUG_CONFIGURE_ON= --debug
+DEBUG_CONFIGURE_OFF= --release --no-separate-debug-info
-NO_STAGE= yes
pre-configure:
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/configure
${MKDIR} ${WRKSRC}/libdata/pkgconfig
-post-install:
- ${STRIP_CMD} ${PREFIX}/bin/qcatool2 ${PREFIX}/lib/libqca.so.${PORTVERSION}
-
.include <bsd.port.mk>
diff --git a/devel/qca/pkg-plist b/devel/qca/pkg-plist
index 6aac7adb825c..104cda2454ff 100644
--- a/devel/qca/pkg-plist
+++ b/devel/qca/pkg-plist
@@ -22,6 +22,7 @@ lib/libqca.so.2.0
lib/libqca.so.2.0.3
%%DEBUG%%lib/libqca.so.2.0.3.debug
libdata/pkgconfig/qca2.pc
+man/man1/qcatool2.1.gz
share/qca/certs/README
share/qca/certs/rootcerts.pem
share/qt4/mkspecs/features/crypto.prf