mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04:00
devel/qca:
- 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
This commit is contained in:
parent
76a7555e76
commit
f9e9cc913f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345224
5 changed files with 28 additions and 55 deletions
|
@ -9,43 +9,31 @@ MASTER_SITES= http://delta.affinix.com/download/qca/2.0/
|
||||||
DISTNAME= qca-${PORTVERSION}
|
DISTNAME= qca-${PORTVERSION}
|
||||||
|
|
||||||
MAINTAINER= kde@FreeBSD.org
|
MAINTAINER= kde@FreeBSD.org
|
||||||
COMMENT= Cross-platform crypto API for QT
|
COMMENT= Cross-platform crypto API for Qt
|
||||||
|
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USE_QT4= corelib qmake_build moc_build
|
USE_QT4= corelib qmake_build moc_build
|
||||||
HAS_CONFIGURE= yes
|
HAS_CONFIGURE= yes
|
||||||
QT_NONSTANDARD= yes
|
QT_NONSTANDARD= yes
|
||||||
CONFIGURE_ARGS+=--prefix=${PREFIX}
|
CONFIGURE_ARGS+=--prefix=${PREFIX} \
|
||||||
|
--disable-tests
|
||||||
CONFIGURE_ENV+= QMAKESPEC=${QMAKESPEC}
|
CONFIGURE_ENV+= QMAKESPEC=${QMAKESPEC}
|
||||||
USE_OPENSSL= yes
|
USE_OPENSSL= yes
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
DESTDIRNAME= INSTALL_ROOT
|
||||||
MAN1= qcatool2.1
|
|
||||||
|
|
||||||
.if defined(PACKAGE_BUILDING)
|
.if defined(PACKAGE_BUILDING)
|
||||||
CONFIGURE_ENV+= QC_VERBOSE=Y
|
CONFIGURE_ENV+= QC_VERBOSE=Y
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(MAINTAINER_MODE)
|
OPTIONS_DEFINE= DEBUG
|
||||||
USE_QT4+= qtestlib
|
OPTIONS_SUB= yes
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+=--disable-tests
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if !defined(WITH_DEBUG)
|
DEBUG_CONFIGURE_ON= --debug
|
||||||
CONFIGURE_ARGS+=--release --no-separate-debug-info
|
DEBUG_CONFIGURE_OFF= --release --no-separate-debug-info
|
||||||
PLIST_SUB+= DEBUG="@comment "
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+=--debug
|
|
||||||
PLIST_SUB+= DEBUG=""
|
|
||||||
.endif
|
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/configure
|
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/configure
|
||||||
${MKDIR} ${WRKSRC}/libdata/pkgconfig
|
${MKDIR} ${WRKSRC}/libdata/pkgconfig
|
||||||
|
|
||||||
post-install:
|
|
||||||
${STRIP_CMD} ${PREFIX}/bin/qcatool2 ${PREFIX}/lib/libqca.so.${PORTVERSION}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -22,6 +22,7 @@ lib/libqca.so.2.0
|
||||||
lib/libqca.so.2.0.3
|
lib/libqca.so.2.0.3
|
||||||
%%DEBUG%%lib/libqca.so.2.0.3.debug
|
%%DEBUG%%lib/libqca.so.2.0.3.debug
|
||||||
libdata/pkgconfig/qca2.pc
|
libdata/pkgconfig/qca2.pc
|
||||||
|
man/man1/qcatool2.1.gz
|
||||||
share/qca/certs/README
|
share/qca/certs/README
|
||||||
share/qca/certs/rootcerts.pem
|
share/qca/certs/rootcerts.pem
|
||||||
share/qt4/mkspecs/features/crypto.prf
|
share/qt4/mkspecs/features/crypto.prf
|
||||||
|
|
|
@ -9,8 +9,8 @@ MASTER_SITES= http://delta.affinix.com/download/qca/2.0/plugins/
|
||||||
MAINTAINER= kde@FreeBSD.org
|
MAINTAINER= kde@FreeBSD.org
|
||||||
COMMENT= QCA Cyrus SASL plugin
|
COMMENT= QCA Cyrus SASL plugin
|
||||||
|
|
||||||
LIB_DEPENDS= qca.2:${PORTSDIR}/devel/qca \
|
LIB_DEPENDS= libqca.so:${PORTSDIR}/devel/qca \
|
||||||
sasl2:${PORTSDIR}/security/cyrus-sasl2
|
libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
|
||||||
|
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USE_QT4= corelib qmake_build moc_build
|
USE_QT4= corelib qmake_build moc_build
|
||||||
|
@ -19,17 +19,12 @@ QT_NONSTANDARD= yes
|
||||||
CONFIGURE_ARGS+=--plugins-path=${PREFIX}/${QT_PLUGINDIR_REL} \
|
CONFIGURE_ARGS+=--plugins-path=${PREFIX}/${QT_PLUGINDIR_REL} \
|
||||||
--with-sasl-inc=${LOCALBASE}/include \
|
--with-sasl-inc=${LOCALBASE}/include \
|
||||||
--with-sasl-lib=${LOCALBASE}/lib
|
--with-sasl-lib=${LOCALBASE}/lib
|
||||||
|
DESTDIRNAME= INSTALL_ROOT
|
||||||
|
|
||||||
.if !defined(WITH_DEBUG)
|
OPTIONS_DEFINE= DEBUG
|
||||||
CONFIGURE_ARGS+=--release --no-separate-debug-info
|
OPTIONS_SUB= yes
|
||||||
PLIST_SUB+= DEBUG="@comment "
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+=--debug
|
|
||||||
PLIST_SUB+= DEBUG=""
|
|
||||||
.endif
|
|
||||||
|
|
||||||
NO_STAGE= yes
|
DEBUG_CONFIGURE_ON= --debug
|
||||||
post-install:
|
DEBUG_CONFIGURE_OFF= --release --no-separate-debug-info
|
||||||
${STRIP_CMD} ${PREFIX}/${QT_PLUGINDIR_REL}/crypto/libqca-cyrus-sasl.so
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -9,24 +9,19 @@ MASTER_SITES= http://delta.affinix.com/download/qca/2.0/plugins/
|
||||||
MAINTAINER= kde@FreeBSD.org
|
MAINTAINER= kde@FreeBSD.org
|
||||||
COMMENT= QCA GnuPG plugin
|
COMMENT= QCA GnuPG plugin
|
||||||
|
|
||||||
LIB_DEPENDS= qca.2:${PORTSDIR}/devel/qca
|
LIB_DEPENDS= libqca.so:${PORTSDIR}/devel/qca
|
||||||
|
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USE_QT4= corelib qmake_build moc_build
|
USE_QT4= corelib qmake_build moc_build
|
||||||
HAS_CONFIGURE= yes
|
HAS_CONFIGURE= yes
|
||||||
QT_NONSTANDARD= yes
|
QT_NONSTANDARD= yes
|
||||||
CONFIGURE_ARGS+=--plugins-path=${PREFIX}/${QT_PLUGINDIR_REL}
|
CONFIGURE_ARGS+=--plugins-path=${PREFIX}/${QT_PLUGINDIR_REL}
|
||||||
|
DESTDIRNAME= INSTALL_ROOT
|
||||||
|
|
||||||
.if !defined(WITH_DEBUG)
|
OPTIONS_DEFINE= DEBUG
|
||||||
CONFIGURE_ARGS+=--release --no-separate-debug-info
|
OPTIONS_SUB= yes
|
||||||
PLIST_SUB+= DEBUG="@comment "
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+=--debug
|
|
||||||
PLIST_SUB+= DEBUG=""
|
|
||||||
.endif
|
|
||||||
|
|
||||||
NO_STAGE= yes
|
DEBUG_CONFIGURE_ON= --debug
|
||||||
post-install:
|
DEBUG_CONFIGURE_OFF= --release --no-separate-debug-info
|
||||||
${STRIP_CMD} ${PREFIX}/${QT_PLUGINDIR_REL}/crypto/libqca-gnupg.so
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -10,28 +10,22 @@ MASTER_SITES= http://delta.affinix.com/download/qca/2.0/plugins/
|
||||||
MAINTAINER= kde@FreeBSD.org
|
MAINTAINER= kde@FreeBSD.org
|
||||||
COMMENT= QCA OpenSLL plugin
|
COMMENT= QCA OpenSLL plugin
|
||||||
|
|
||||||
LIB_DEPENDS= qca.2:${PORTSDIR}/devel/qca
|
LIB_DEPENDS= libqca.so:${PORTSDIR}/devel/qca
|
||||||
|
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USE_QT4= corelib qmake_build moc_build
|
USE_QT4= corelib qmake_build moc_build
|
||||||
HAS_CONFIGURE= yes
|
HAS_CONFIGURE= yes
|
||||||
QT_NONSTANDARD= yes
|
QT_NONSTANDARD= yes
|
||||||
USE_OPENSSL= yes
|
USE_OPENSSL= yes
|
||||||
|
|
||||||
CONFIGURE_ARGS= --plugins-path=${PREFIX}/${QT_PLUGINDIR_REL} \
|
CONFIGURE_ARGS= --plugins-path=${PREFIX}/${QT_PLUGINDIR_REL} \
|
||||||
--with-openssl-inc=${OPENSSLINC} \
|
--with-openssl-inc=${OPENSSLINC} \
|
||||||
--with-openssl-lib=${OPENSSLLIB}
|
--with-openssl-lib=${OPENSSLLIB}
|
||||||
|
DESTDIRNAME= INSTALL_ROOT
|
||||||
|
|
||||||
.if !defined(WITH_DEBUG)
|
OPTIONS_DEFINE= DEBUG
|
||||||
CONFIGURE_ARGS+=--release --no-separate-debug-info
|
OPTIONS_SUB= yes
|
||||||
PLIST_SUB+= DEBUG="@comment "
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+=--debug
|
|
||||||
PLIST_SUB+= DEBUG=""
|
|
||||||
.endif
|
|
||||||
|
|
||||||
NO_STAGE= yes
|
DEBUG_CONFIGURE_ON= --debug
|
||||||
post-install:
|
DEBUG_CONFIGURE_OFF= --release --no-separate-debug-info
|
||||||
${STRIP_CMD} ${PREFIX}/${QT_PLUGINDIR_REL}/crypto/libqca-ossl.so
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue