From 8400505a344d7317b785e6c1b81c611272681eaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 2 Jul 2015 20:55:23 +0200 Subject: FreeBSD: Add dependencies/tqca-tls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- freebsd/dependencies/Makefile | 1 + freebsd/dependencies/tqca-tls/Makefile | 38 +++++++++++++++++++++++++++++++++ freebsd/dependencies/tqca-tls/distinfo | 2 ++ freebsd/dependencies/tqca-tls/pkg-descr | 6 ++++++ freebsd/dependencies/tqca-tls/pkg-plist | 1 + 5 files changed, 48 insertions(+) create mode 100644 freebsd/dependencies/tqca-tls/Makefile create mode 100644 freebsd/dependencies/tqca-tls/distinfo create mode 100644 freebsd/dependencies/tqca-tls/pkg-descr create mode 100644 freebsd/dependencies/tqca-tls/pkg-plist diff --git a/freebsd/dependencies/Makefile b/freebsd/dependencies/Makefile index 3d6b0135d..5b2142194 100644 --- a/freebsd/dependencies/Makefile +++ b/freebsd/dependencies/Makefile @@ -8,6 +8,7 @@ SUBDIR += tqt3-pgsql-plugin SUBDIR += tqt3-sqlite-plugin SUBDIR += tqt3-sqlite3-plugin + SUBDIR += tqca-tls SUBDIR += tqtinterface SUBDIR += akode SUBDIR += arts diff --git a/freebsd/dependencies/tqca-tls/Makefile b/freebsd/dependencies/tqca-tls/Makefile new file mode 100644 index 000000000..467eb1ef6 --- /dev/null +++ b/freebsd/dependencies/tqca-tls/Makefile @@ -0,0 +1,38 @@ +# -*-mode: makefile-*- +# Created by: slavek.banko@axis.cz +# $FreeBSD$ +# + +.include <../../trinity.port.mk> + +PORTNAME= tqca-tls +COMMENT= TLS plugin for the TQt Cryptographic Architecture (TQCA) +TDE_PREVERSION= ~pre0+68d8b7a5 +MASTER_SITE_SUBDIR= t/${PORTNAME} +PORTREVISION= 0 +CATEGORIES= devel +DISTSRC= ${PORTNAME}-trinity-${TDE_VERSION}${TDE_PREVERSION} +DIST_SUBDIR= TDE/dependencies +PREFIX= ${LOCALBASE} + + +BUILD_DEPENDS+= tqmake:${PORTSDIR}/x11/trinity/dependencies/tqmake + +LIB_DEPENDS+= libssl.so:${PORTSDIR}/security/openssl + +post-extract: + gsed -i ${WRKSRC}/configure \ + -e "s|/usr/include/tqt|${PREFIX}/include/tqt|" + +do-configure: + cd "${WRKSRC}" && \ + QTDIR=${PREFIX} \ + ${WRKSRC}/configure + +do-build: + ${MAKE_CMD} -C ${WRKSRC} + +do-install: + ${MAKE_CMD} -C ${WRKSRC} INSTALL_ROOT=${STAGEDIR} install + +.include diff --git a/freebsd/dependencies/tqca-tls/distinfo b/freebsd/dependencies/tqca-tls/distinfo new file mode 100644 index 000000000..745e8f6d1 --- /dev/null +++ b/freebsd/dependencies/tqca-tls/distinfo @@ -0,0 +1,2 @@ +SHA256 (TDE/dependencies/tqca-tls_14.0.1~pre0.orig.tar.xz) = 6742f9a360a4ba15972d256a02d7c7d01ea71ada07503853d3b5a6a245e2bc85 +SIZE (TDE/dependencies/tqca-tls_14.0.1~pre0.orig.tar.xz) = 22968 diff --git a/freebsd/dependencies/tqca-tls/pkg-descr b/freebsd/dependencies/tqca-tls/pkg-descr new file mode 100644 index 000000000..80fabd133 --- /dev/null +++ b/freebsd/dependencies/tqca-tls/pkg-descr @@ -0,0 +1,6 @@ +TLS plugin for the TQt Cryptographic Architecture (TQCA) + +This is a plugin to provide SSL/TLS capability to programs that +utilize the TQt Cryptographic Architecture (TQCA). TQCA is a +library providing an easy API for several cryptographic +algorithms to TQt programs. diff --git a/freebsd/dependencies/tqca-tls/pkg-plist b/freebsd/dependencies/tqca-tls/pkg-plist new file mode 100644 index 000000000..b7d06630a --- /dev/null +++ b/freebsd/dependencies/tqca-tls/pkg-plist @@ -0,0 +1 @@ +lib/tqt3/plugins/crypto/libtqca-tls.so -- cgit v1.2.3