aboutsummaryrefslogtreecommitdiff
path: root/devel/qca
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-04-05 06:32:34 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-04-05 06:32:34 +0000
commit034d88ade943212be4b869bb5a6f47e6a3f14bfd (patch)
treeabc5af3fcf29e662e9811a02e49fa59d40d1d1bf /devel/qca
parentdfd7185f84bd14193b83de90d7e5a20d0c967301 (diff)
downloadports-034d88ade943212be4b869bb5a6f47e6a3f14bfd.tar.gz
ports-034d88ade943212be4b869bb5a6f47e6a3f14bfd.zip
Notes
Diffstat (limited to 'devel/qca')
-rw-r--r--devel/qca/Makefile38
-rw-r--r--devel/qca/distinfo2
-rw-r--r--devel/qca/files/patch-configure38
-rw-r--r--devel/qca/pkg-descr4
-rw-r--r--devel/qca/pkg-plist7
5 files changed, 89 insertions, 0 deletions
diff --git a/devel/qca/Makefile b/devel/qca/Makefile
new file mode 100644
index 000000000000..d7b222538a45
--- /dev/null
+++ b/devel/qca/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: qca
+# Date created: 27 March 2005
+# Whom: Vsevolod Stakhov <vsevolod@highsecure.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= qca
+PORTVERSION= 1.0
+CATEGORIES= devel security
+MASTER_SITES= http://psi.affinix.com/beta/
+
+MAINTAINER= vsevolod@highsecure.ru
+COMMENT= Straightforward and cross-platform crypto API
+
+BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
+
+QT_NONSTANDARD= yes
+HAS_CONFIGURE= yes
+USE_INSTALL_SCRIPT= yes
+USE_BZIP2= yes
+USE_QT_VER= 3
+USE_X_PREFIX= yes
+INSTALLS_SHLIB= yes
+
+CONFIGURE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
+CONFIGURE_ARGS= --qtdir=${X11BASE}
+MAKE_ARGS+= QTDIR=${X11BASE} \
+ QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
+
+do-install:
+ ${TEST} -d ${PREFIX}/include/plugins/qca || ${MKDIR} ${PREFIX}/include/plugins/qca
+ ${INSTALL_SCRIPT} ${WRKSRC}/src/qca.h ${WRKSRC}/src/qcaprovider.h ${PREFIX}/include/plugins/qca
+ ${INSTALL_SCRIPT} -m 755 ${WRKSRC}/libqca.so.1.0.0 ${PREFIX}/lib
+ ${LN} -sf ${PREFIX}/lib/libqca.so.1.0.0 ${PREFIX}/lib/libqca.so.1
+ ${LN} -sf ${PREFIX}/lib/libqca.so.1.0.0 ${PREFIX}/lib/libqca.so
+
+.include <bsd.port.mk>
diff --git a/devel/qca/distinfo b/devel/qca/distinfo
new file mode 100644
index 000000000000..b69d4f66e815
--- /dev/null
+++ b/devel/qca/distinfo
@@ -0,0 +1,2 @@
+Size (qca-1.0.tar.bz2) = 30677
+MD5 (qca-1.0.tar.bz2) = ee44022eb0e5b8b5df64c62630f6e6b6
diff --git a/devel/qca/files/patch-configure b/devel/qca/files/patch-configure
new file mode 100644
index 000000000000..7db6c9ac3987
--- /dev/null
+++ b/devel/qca/files/patch-configure
@@ -0,0 +1,38 @@
+--- configure.orig Wed Dec 10 03:06:43 2003
++++ configure Sun Mar 27 23:43:58 2005
+@@ -17,12 +17,10 @@
+ while [ $# -gt 0 ]; do
+ case "$1" in
+ --prefix=*)
+- PREFIX=`expr "${1}" : "--prefix=\(.*\)"`
+ shift
+ ;;
+
+ --qtdir=*)
+- QTDIR=`expr "${1}" : "--qtdir=\(.*\)"`
+ shift
+ ;;
+
+@@ -76,7 +74,7 @@
+ echo Warning: qmake not in \$QTDIR/bin/qmake
+ echo trying to find it in \$PATH
+ fi
+- qm=`type -p qmake`
++ qm=`which qmake`
+ if [ -x "$qm" ]; then
+ if [ "$QC_DEBUG" = "Y" ]; then
+ echo qmake found in $qm
+@@ -477,13 +475,6 @@
+ echo
+ exit 1;
+ fi
+-cat >Makefile.tmp <<EOT
+-export QTDIR = $QTDIR
+-EOT
+-cat Makefile >> Makefile.tmp
+-rm -f Makefile
+-cp -f Makefile.tmp Makefile
+-rm -f Makefile.tmp
+
+ echo
+ echo Good, your configure finished. Now run \'make\'.
diff --git a/devel/qca/pkg-descr b/devel/qca/pkg-descr
new file mode 100644
index 000000000000..eaeb5bdf5cb9
--- /dev/null
+++ b/devel/qca/pkg-descr
@@ -0,0 +1,4 @@
+QCA aims to provide a straightforward and cross-platform crypto API, using Qt
+datatypes and conventions
+
+WWW: http://psi.affinix.com/
diff --git a/devel/qca/pkg-plist b/devel/qca/pkg-plist
new file mode 100644
index 000000000000..890a44e6c883
--- /dev/null
+++ b/devel/qca/pkg-plist
@@ -0,0 +1,7 @@
+lib/libqca.so
+lib/libqca.so.1
+lib/libqca.so.1.0.0
+include/plugins/qca/qca.h
+include/plugins/qca/qcaprovider.h
+
+@dirrm include/plugins/qca