blob: 1e445950d65b356e94e2a2395c12e8cd206b2841 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# $FreeBSD$
PORTNAME= trustedqsl
PORTVERSION= 2.0.3
PORTREVISION= 2
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>
|