aboutsummaryrefslogtreecommitdiffstats
path: root/comms/tqsllib
diff options
context:
space:
mode:
authordb <db@FreeBSD.org>2012-08-15 07:14:35 +0800
committerdb <db@FreeBSD.org>2012-08-15 07:14:35 +0800
commit520ddf3b2b123b54c71d315b6c8b4178a4d7492d (patch)
treee750f629249fb3152d97b3c87f00e23227973a70 /comms/tqsllib
parent1192570a5920837992bc1eaa1add1d029ab1edb1 (diff)
downloadfreebsd-ports-gnome-520ddf3b2b123b54c71d315b6c8b4178a4d7492d.tar.gz
freebsd-ports-gnome-520ddf3b2b123b54c71d315b6c8b4178a4d7492d.tar.zst
freebsd-ports-gnome-520ddf3b2b123b54c71d315b6c8b4178a4d7492d.zip
- Carve tqsllib out of trustedqsl updating to V2.2 in the process
- Also address the non build problem reported in PR 169720 PR: ports/169720 Submitted by: paul@dokas.name
Diffstat (limited to 'comms/tqsllib')
-rw-r--r--comms/tqsllib/Makefile46
-rw-r--r--comms/tqsllib/distinfo2
-rw-r--r--comms/tqsllib/pkg-descr7
-rw-r--r--comms/tqsllib/pkg-plist19
4 files changed, 74 insertions, 0 deletions
diff --git a/comms/tqsllib/Makefile b/comms/tqsllib/Makefile
new file mode 100644
index 000000000000..7c159cc7ef44
--- /dev/null
+++ b/comms/tqsllib/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: tqsllib
+# Date created: 10th August 2012
+# Whom: Diane Bruce <db@db.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tqsllib
+PORTVERSION= 2.2
+CATEGORIES= comms hamradio
+MASTER_SITES= SF/trustedqsl/tqsllib/V2.2/
+
+MAINTAINER= db@FreeBSD.org
+COMMENT= Amateur Radio Station electronic trusted logbook libraries
+
+LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2
+
+GNU_CONFIGURE= YES
+USE_LDCONFIG= YES
+USE_OPENSSL= YES
+CONFIGURE_ARGS+= "CXXFLAGS=${CXXFLAGS} -fpermissive" --enable-docs=no \
+ --with-openssl=${OPENSSLBASE}
+
+.include <bsd.port.pre.mk>
+
+post-configure:
+ @${REINPLACE_CMD} -e 's|-lcrypto|${OPENSSLLIB}/libcrypto.so|' \
+ ${WRKSRC}/Makefile
+
+pre-install:
+ (cd ${WRKSRC}; \
+ make converter;make gen_crq; \
+ make load_cert;make station_loc)
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/converter ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/gen_crq ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/load_cert ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/station_loc ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/tqsllib
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/tqsllib
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/tqsllib
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/comms/tqsllib/distinfo b/comms/tqsllib/distinfo
new file mode 100644
index 000000000000..0c6de7d1e59e
--- /dev/null
+++ b/comms/tqsllib/distinfo
@@ -0,0 +1,2 @@
+SHA256 (tqsllib-2.2.tar.gz) = 1865a642e7e414eb47758ad26c527b84850d4cc4f2f7f1f119700b765ce636ea
+SIZE (tqsllib-2.2.tar.gz) = 616257
diff --git a/comms/tqsllib/pkg-descr b/comms/tqsllib/pkg-descr
new file mode 100644
index 000000000000..f383824b9e3e
--- /dev/null
+++ b/comms/tqsllib/pkg-descr
@@ -0,0 +1,7 @@
+tqsllibs for TrustedQSL
+
+The mission of the Trusted QSL Group is to keep eQSL an open and free
+activity for amateur radio operators by promoting the
+Digital Signature Standard (DSS).
+
+WWW: http://www.trustedqsl.org/trusted-qsl
diff --git a/comms/tqsllib/pkg-plist b/comms/tqsllib/pkg-plist
new file mode 100644
index 000000000000..3f6144f9f8c4
--- /dev/null
+++ b/comms/tqsllib/pkg-plist
@@ -0,0 +1,19 @@
+bin/converter
+bin/dumptqsldata
+bin/gen_crq
+bin/load_cert
+bin/station_loc
+include/tqsllib.h
+include/tqslerrno.h
+include/cabrillo.h
+include/adif.h
+include/tqslconvert.h
+lib/libtqsllib.so.1
+lib/libtqsllib.so
+lib/libtqsllib.la
+lib/libtqsllib.a
+share/tqsl/config.xml
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm share/tqsl