- Mk/bsd.database.mk rewrite, new default to db5. - db6 is eligible by default only if installed on the system. - Bump PORTREVISION of all ports that directly depend on BerkeleyDB or where USE_BDB is found in the port's directory - Patch a few ports such that they will pick up or work with newer versions. - Add UPDATING entry - Drive-by format fix for pks - Drop BerkeleyDB option from mail/popular for now, requires more work. - Exp-run logs linked from the PR below. - Ports that do not build (IGNORE, BROKEN, etc.) have pro-forma changes for new Berkeley DB, but are untested. NOTE: please read UPDATING and the Wiki page before proceeding! Announcement: http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000090.html Wiki reference: https://wiki.freebsd.org/Ports/BerkeleyDBCleanup PR: 192690 Approved by: portmgr (implicit, PORTREVISION bump on unstaged ports)
63 lines
1.6 KiB
Makefile
63 lines
1.6 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= trustedqsl
|
|
PORTVERSION= 2.0.3
|
|
CATEGORIES= comms hamradio
|
|
MASTER_SITES= SF/${PORTNAME}/TrustedQSL/v${PORTVERSION}/
|
|
DISTNAME= tqsl-${PORTVERSION}
|
|
|
|
MAINTAINER= hamradio@FreeBSD.org
|
|
COMMENT= Amateur Radio Station electronic trusted logbook
|
|
|
|
LICENSE= ARRL
|
|
LICENSE_NAME= American Radio Relay League, Inc. All rights reserved.
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
|
|
|
|
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
|
|
|
|
USE_BDB= 5+
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
USES= cmake compiler:features pkgconfig
|
|
CMAKE_ARGS= -DBDB_PREFIX=${LOCALBASE}
|
|
USE_WX= 2.8+
|
|
WX_UNICODE= yes
|
|
USE_LDCONFIG= yes
|
|
USE_OPENSSL= yes
|
|
|
|
OPTIONS_DEFINE= GEN_CRQ LOAD_CERT STATION_LOC CONVERTER
|
|
GEN_CRQ_DESC= Build gen_crq
|
|
LOAD_CERT_DESC= Build load_cert
|
|
STATION_LOC_DESC= Build station_loc
|
|
CONVERTER_DESC= Build converter
|
|
|
|
GEN_CRQ_CMAKE_ON= -DBUILD_GENCRQ=ON
|
|
LOAD_CERT_CMAKE_ON= -DBUILD_LOADCERT=ON
|
|
STATION_LOC_CMAKE_ON= -DBUILD_STATIONLOC=ON
|
|
CONVERTER_CMAKE_ON= -DBUILD_CONVERTER=ON
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-stage:
|
|
.if ${PORT_OPTIONS:MGEN_CRQ}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/gen_crq ${STAGEDIR}${PREFIX}/bin
|
|
.endif
|
|
.if ${PORT_OPTIONS:MLOAD_CERT}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/load_cert ${STAGEDIR}${PREFIX}/bin
|
|
.endif
|
|
.if ${PORT_OPTIONS:MSTATION_LOC}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/station_loc ${STAGEDIR}${PREFIX}/bin
|
|
.endif
|
|
.if ${PORT_OPTIONS:MCONVERTER}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/converter ${STAGEDIR}${PREFIX}/bin
|
|
.endif
|
|
|
|
post-patch:
|
|
@${SED} -e 's:%%PREFIX%%:${PREFIX}:g' \
|
|
${FILESDIR}/pkg-message > ${WRKDIR}/pkg-message
|
|
|
|
.include <bsd.port.mk>
|