From bf709868eb417453fabc20756ad4920e5e59b770 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Fri, 24 Sep 2010 01:34:07 +0000 Subject: [PATCH] QT support for OAuth-powered network services WWW: http://wiki.github.com/ayoy/qoauth/ Approved by: pgollucci (mentor) --- net/Makefile | 1 + net/qoauth/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ net/qoauth/distinfo | 3 +++ net/qoauth/pkg-descr | 4 ++++ net/qoauth/pkg-plist | 15 +++++++++++++++ 5 files changed, 61 insertions(+) create mode 100644 net/qoauth/Makefile create mode 100644 net/qoauth/distinfo create mode 100644 net/qoauth/pkg-descr create mode 100644 net/qoauth/pkg-plist diff --git a/net/Makefile b/net/Makefile index c56a33529946..f027bc453968 100644 --- a/net/Makefile +++ b/net/Makefile @@ -869,6 +869,7 @@ SUBDIR += pyrad SUBDIR += pythondirector SUBDIR += qadsl + SUBDIR += qoauth SUBDIR += qt4-network SUBDIR += quagga SUBDIR += queso diff --git a/net/qoauth/Makefile b/net/qoauth/Makefile new file mode 100644 index 000000000000..d275d3967f2d --- /dev/null +++ b/net/qoauth/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: qoauth +# Date created: 2010-09-18 +# Whom: Steve Wills +# +# $FreeBSD$ +# + +PORTNAME= qoauth +PORTVERSION= 1.0.1 +CATEGORIES= net devel security +MASTER_SITES= http://files.ayoy.net/qoauth/release/${PORTVERSION}/src/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-src + +MAINTAINER= kde@FreeBSD.org +COMMENT= QT support for OAuth-powered network services + +BUILD_DEPENDS+= qca-ossl>=2.0.0.b3:${PORTSDIR}/security/qca-ossl +LIB_DEPENDS= qca.2:${PORTSDIR}/devel/qca +RUN_DEPENDS= qca-ossl>=2.0.0.b3:${PORTSDIR}/security/qca-ossl + +USE_LDCONFIG= yes +USE_BZIP2= yes +USE_QT_VER= 4 +QT_COMPONENTS= corelib qtestlib network qmake_build moc_build +HAS_CONFIGURE= yes +USE_OPENSSL= yes + +QMAKEFLAGS+= PREFIX=${PREFIX} + +post-patch: + @${REINPLACE_CMD} -e 's,target.path}/pkgconfig,INSTALL_PREFIX}/libdata/pkgconfig,g' \ + ${WRKSRC}/src/src.pro + +do-configure: + @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${MAKE_ENV} \ + ${QMAKE} ${QMAKEFLAGS} qoauth.pro + +.include diff --git a/net/qoauth/distinfo b/net/qoauth/distinfo new file mode 100644 index 000000000000..145b10a18a89 --- /dev/null +++ b/net/qoauth/distinfo @@ -0,0 +1,3 @@ +MD5 (qoauth-1.0.1-src.tar.bz2) = bcb6d01e6c9a6fb22099c9e0f5889578 +SHA256 (qoauth-1.0.1-src.tar.bz2) = b8579a77cecb07928e557c4a019db902a0f040b22f7926f147299e87ac5a54fd +SIZE (qoauth-1.0.1-src.tar.bz2) = 42298 diff --git a/net/qoauth/pkg-descr b/net/qoauth/pkg-descr new file mode 100644 index 000000000000..17887a495ab4 --- /dev/null +++ b/net/qoauth/pkg-descr @@ -0,0 +1,4 @@ +QOAuth is an attempt to support interaction with OAuth-powered network services +in a Qt way + +WWW: http://github.com/ayoy/qoauth diff --git a/net/qoauth/pkg-plist b/net/qoauth/pkg-plist new file mode 100644 index 000000000000..54ea1ac79119 --- /dev/null +++ b/net/qoauth/pkg-plist @@ -0,0 +1,15 @@ +include/QtOAuth/QtOAuth +include/QtOAuth/interface.h +include/QtOAuth/qoauth_global.h +include/QtOAuth/qoauth_namespace.h +lib/libqoauth.prl +lib/libqoauth.so +lib/libqoauth.so.1 +lib/libqoauth.so.1.0 +lib/libqoauth.so.1.0.1 +libdata/pkgconfig/qoauth.pc +share/qt4/mkspecs/features/oauth.prf +@dirrmtry share/qt4/mkspecs/features +@dirrmtry share/qt4/mkspecs +@dirrmtry share/qt4 +@dirrm include/QtOAuth