1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

QCA is a straightforward and cross-platform crypto API, using Qt datatypes and

conventions.

PR:		ports/79289
Submitted by:	Vsevolod A. Stakhov <vsevolod@highsecure.ru>
This commit is contained in:
Sergey Matveychuk 2005-04-05 06:32:34 +00:00
parent dfd7185f84
commit 034d88ade9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132519
6 changed files with 90 additions and 0 deletions

View File

@ -1322,6 +1322,7 @@
SUBDIR += pyobfuscate
SUBDIR += pyrex
SUBDIR += pyumlgraph
SUBDIR += qca
SUBDIR += qextmdi
SUBDIR += qmake
SUBDIR += qsa

38
devel/qca/Makefile Normal file
View File

@ -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>

2
devel/qca/distinfo Normal file
View File

@ -0,0 +1,2 @@
Size (qca-1.0.tar.bz2) = 30677
MD5 (qca-1.0.tar.bz2) = ee44022eb0e5b8b5df64c62630f6e6b6

View File

@ -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\'.

4
devel/qca/pkg-descr Normal file
View File

@ -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/

7
devel/qca/pkg-plist Normal file
View File

@ -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