blob: 57be3aa7046a34e4efabd2fcf10dca1bea99fdc9 (
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
|
# $NetBSD: Makefile,v 1.3 2013/09/15 13:22:28 mef Exp $
DISTNAME= tqsl-2.0
PKGNAME= ${DISTNAME}rc5
CATEGORIES= ham
MASTER_SITES= http://www.arrl.org/files/file/LoTW%20Instructions/
MASTER_SITES= http://downloads.sourceforge.net/project/trustedqsl/TrustedQSL/v2.0-rc5/
MAINTAINER= makoto@ki.nu
HOMEPAGE= http://sourceforge.net/projects/trustedqsl/
COMMENT= TrustedQSL, uploading QSL Data to LoTW of ARRL
LICENSE= arrl-license
DIST_SUBDIR= ${PKGNAME_NOREV}
USE_TOOLS+= perl gmake cmake
USE_LANGUAGES+= c c++
USE_LIBTOOL= yes
USE_CMAKE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
# There is an unresolved build failure, where -R for /usr/pkg/lib does
# not precede /usr/X11R7/lib, and on a netbsd-5 system with base xorg,
# an old version of pixman is found by the pkgsrc cairo. The root
# cause (aside from having two pixman versions installed) is ad hoc -L
# usage in Makefile.am, without matching -R.
do-configure:
(cd $(WRKSRC) ; \
cmake \
-DBDB_PREFIX=${PREFIX} \
-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE \
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
-DCMAKE_INSTALL_RPATH=${PREFIX}/lib \
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=FALSE \
.)
post-install:
(cd ${WRKSRC} ;\
${INSTALL_DATA} LICENSE.txt ${DESTDIR}${PREFIX}/share/TrustedQSL/ \
)
.include "../../textproc/expat/buildlink3.mk"
.include "../../databases/db5/buildlink3.mk"
.include "../../x11/wxGTK28/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|