pkgsrc-wip/trustedQSL/Makefile
Makoto Fujiwara 889d5e2b21 Bump version 1.14-1 to 1.14.3
(previous 1.14-1 naming has problem with pkg_delete, not
 finding the package name, ... this is kind of pkgsrc only
 problem ..)

(Mail for the release for 1.14.3)
-----------------
The current public release of TQSL is 1.14.1.

After 1.14.1 was released, two additional defects were identified:

- TQSL can't access certificates or station locations or its
duplicate database if they are stored in a folder whose
pathname contains Unicode characters

- when invoked via command line when a new version of TQSL is
generally available, TQSL informs the user that the new
version is available, but does not sign and upload QSOs as
directed

Both of these defects were corrected in TQSL 1.14.2. The ARRL
Help Desk has been suggesting to users who encounter the
"pathname contains Unicode characters" defect that they
upgrade to 1.14.2.

Before we completed the testing necessary to make 1.14.2
generally available, the Help Desk began reporting new
problems involving the uploading of digitally signed logs to
LotW over the internet from PCs running Windows. Some of these
problems were the result of Windows being severely out-of-date
(because Windows Update had been disabled). One of these
problems was the result of a defect in a component employed by
TQSL. This defect has been corrected in TQSL 1.14.3, which has
been available to a small group of testers since July 1; the
group has reported no new defects.
: ----------------------------------------------------------------------
2013-07-17 14:20:26 +00:00

75 lines
2.6 KiB
Makefile

# $NetBSD: Makefile,v 1.22 2013/07/17 14:20:26 makoto Exp $
DISTNAME= tqsl-1.14.3
# 1.14 instead of 114 may be better (?)
#PKGNAME= ${DISTNAME:C/[0-9]/&./}
CATEGORIES= ham
MASTER_SITES= http://www.arrl.org/files/file/LoTW%20Instructions/
MASTER_SITES= http://www.arrl.org/files/file/TrustedQSL-Beta/
EXTRACT_SUFX= .tgz
MAINTAINER= makoto@ki.nu
HOMEPAGE= http://sourceforge.net/projects/trustedqsl/
COMMENT= TrustedQSL, uploading QSL Data to LoTW of ARRL
#LICENSE= See LICENSE file (ARRL)
USE_TOOLS+= perl gmake cmake
USE_LANGUAGES+= c c++
USE_LIBTOOL= yes
USE_CMAKE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
#.if !empty(X11_TYPE:Mmodular)
SUBST_CLASSES+= x11r7
SUBST_STAGE.x11r7= post-build
SUBST_FILES.x11r7= apps/cmake_install.cmake
SUBST_MESSAGE.x11r7= Remove X11R7/lib from RPATH_CHANGE, for modular only
SUBST_SED.x11r7= -e 's,:/usr/X11R7/lib,,'
#.endif
## CMAKE RPATH_CHANGE claims the the order is not the same, so the work around.
## /usr/pkgsrc/wip/trustedQSL/work/tqsl-114/src:/usr/pkg/lib:
## v
## /usr/pkg/lib:/usr/pkgsrc/wip/trustedQSL/work/tqsl-114/src
SUBST_CLASSES+= swaprpath
SUBST_STAGE.swaprpath= post-build
SUBST_FILES.swaprpath= apps/cmake_install.cmake
SUBST_MESSAGE.swaprpath= Swap SRC and LIB of OLD_RPATH in RPATH_CHANGE
SUBST_SED.swaprpath= -e '/OLD_RPATH/s,${WRKSRC}/src:${PREFIX}/lib:',${PREFIX}/lib:${WRKSRC}/src,
SUBST_CLASSES+= rpath-link
SUBST_STAGE.rpath-link= post-build
SUBST_FILES.rpath-link= src/cmake_install.cmake
SUBST_MESSAGE.rpath-link= Truely experimental and interim fix for RPATH-LINK
SUBST_SED.rpath-link= -e '/OLD_RPATH/s,::::::::::::,,'
SUBST_SED.rpath-link+= -e '/NEW_RPATH/s,:${PREFIX}/lib,,'
#SUBST_CLASSES+= lastcolon
#SUBST_STAGE.lastcolon= post-build
#SUBST_FILES.lastcolon= apps/cmake_install.cmake
#SUBST_MESSAGE.lastcolon= Removing the very last colon from OLD_RPATH in RPATH_CHANGE
#SUBST_SED.lastcolon= -e '/OLD_RPATH/s,${WRKSRC}/src:,${WRKSRC}/src,'
# 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 \
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
-DBDB_PREFIX=${PREFIX} \
-DCMAKE_INSTALL_RPATH=${PREFIX}/lib \
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=yes \
.)
.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"