aboutsummaryrefslogtreecommitdiff
path: root/security/qca-gnupg
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2009-03-19 12:00:29 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2009-03-19 12:00:29 +0000
commit7814720e0307eb2cfe0f2e4e2c3b7ef66c399c4c (patch)
tree727ab84ca95713e33e0bbfa7ffc7471928b2ce24 /security/qca-gnupg
parent80d9b92f18330d5de3dbc9f4ae3deb7b06211d4e (diff)
downloadports-7814720e0307eb2cfe0f2e4e2c3b7ef66c399c4c.tar.gz
ports-7814720e0307eb2cfe0f2e4e2c3b7ef66c399c4c.zip
Notes
Diffstat (limited to 'security/qca-gnupg')
-rw-r--r--security/qca-gnupg/Makefile36
-rw-r--r--security/qca-gnupg/distinfo3
-rw-r--r--security/qca-gnupg/pkg-descr6
-rw-r--r--security/qca-gnupg/pkg-plist4
4 files changed, 49 insertions, 0 deletions
diff --git a/security/qca-gnupg/Makefile b/security/qca-gnupg/Makefile
new file mode 100644
index 000000000000..9b80d654a5ae
--- /dev/null
+++ b/security/qca-gnupg/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: qca-gnupg
+# Date created: 2009-03-19
+# Whom: Max Brazhnikov <makc@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= qca-gnupg
+DISTVERSION= 2.0.0-beta3
+CATEGORIES= security
+MASTER_SITES= http://delta.affinix.com/download/qca/2.0/plugins/
+
+MAINTAINER= makc@FreeBSD.org
+COMMENT= QCA GnuPG plugin
+
+LIB_DEPENDS= qca.2:${PORTSDIR}/devel/qca
+
+USE_BZIP2= yes
+USE_QT_VER= 4
+QT_COMPONENTS= corelib qmake_build moc_build
+HAS_CONFIGURE= yes
+QT_NONSTANDARD= yes
+CONFIGURE_ARGS+=--plugins-path=${PREFIX}/${QT_PLUGINDIR_REL}
+
+.if !defined(WITH_DEBUG)
+CONFIGURE_ARGS+=--release --no-separate-debug-info
+PLIST_SUB+= DEBUG="@comment "
+.else
+CONFIGURE_ARGS+=--debug
+PLIST_SUB+= DEBUG=""
+.endif
+
+post-install:
+ ${STRIP_CMD} ${PREFIX}/${QT_PLUGINDIR_REL}/libqca-gnupg.so
+
+.include <bsd.port.mk>
diff --git a/security/qca-gnupg/distinfo b/security/qca-gnupg/distinfo
new file mode 100644
index 000000000000..3de02f763855
--- /dev/null
+++ b/security/qca-gnupg/distinfo
@@ -0,0 +1,3 @@
+MD5 (qca-gnupg-2.0.0-beta3.tar.bz2) = 9b4d020efd835a52d98b2ced9ae79c4b
+SHA256 (qca-gnupg-2.0.0-beta3.tar.bz2) = b255bc52050811cfdc4256bb48223b7b6d9ca553b6185e98190de15e4b5fffcd
+SIZE (qca-gnupg-2.0.0-beta3.tar.bz2) = 38177
diff --git a/security/qca-gnupg/pkg-descr b/security/qca-gnupg/pkg-descr
new file mode 100644
index 000000000000..c33a91c82ccb
--- /dev/null
+++ b/security/qca-gnupg/pkg-descr
@@ -0,0 +1,6 @@
+QCA aims to provide a straightforward and cross-platform crypto API,
+using Qt datatypes and conventions.
+
+This port installs GnuPG plugin.
+
+WWW: http://delta.affinix.com/qca/
diff --git a/security/qca-gnupg/pkg-plist b/security/qca-gnupg/pkg-plist
new file mode 100644
index 000000000000..0f8f5fd2e4ba
--- /dev/null
+++ b/security/qca-gnupg/pkg-plist
@@ -0,0 +1,4 @@
+%%QT_PLUGINDIR_REL%%/crypto/libqca-gnupg.so
+%%DEBUG%%%%QT_PLUGINDIR_REL%%/crypto/libqca-gnupg.so.debug
+@dirrmtry %%QT_PLUGINDIR_REL%%/crypto
+@dirrmtry %%QT_PLUGINDIR_REL%%