aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-11-22 20:55:00 +0800
committermakc <makc@FreeBSD.org>2013-11-22 20:55:00 +0800
commit612bc3c9c8698b6a8cdbb965267678a0ac829218 (patch)
treeedc1328e7d68e649db202ae07c396b88869f73de /net
parent83574ff9450fce1ff644a38992000262dfd6586b (diff)
downloadfreebsd-ports-gnome-612bc3c9c8698b6a8cdbb965267678a0ac829218.tar.gz
freebsd-ports-gnome-612bc3c9c8698b6a8cdbb965267678a0ac829218.tar.zst
freebsd-ports-gnome-612bc3c9c8698b6a8cdbb965267678a0ac829218.zip
- Convert to USES=qmake (and other USES while I'm here)
- Add state support - Convert LIB_DEPENDS to new style, adjust USE_QT4 components, etc. Approved by: portmgr (blanket approval)
Diffstat (limited to 'net')
-rw-r--r--net/ostinato/Makefile12
-rw-r--r--net/qoauth/Makefile15
-rw-r--r--net/wpa_gui/Makefile8
3 files changed, 9 insertions, 26 deletions
diff --git a/net/ostinato/Makefile b/net/ostinato/Makefile
index b73d475fec35..63270c02a1e6 100644
--- a/net/ostinato/Makefile
+++ b/net/ostinato/Makefile
@@ -11,9 +11,10 @@ DISTNAME= ${PORTNAME}-src-${PORTVERSION}${EXTRACTSUFFIX}
MAINTAINER= zeising@FreeBSD.org
COMMENT= Packet crafter/generator and analyzer with friendly GUI
-LIB_DEPENDS= protobuf:${PORTSDIR}/devel/protobuf
+LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf
-USE_QT4= gui moc_build qmake_build rcc_build uic_build network script \
+USES= qmake
+USE_QT4= gui moc_build rcc_build uic_build network script \
xml
PLIST_FILES= bin/drone \
@@ -21,11 +22,4 @@ PLIST_FILES= bin/drone \
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-HAS_CONFIGURE= yes
-
-NO_STAGE= yes
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
-
.include <bsd.port.mk>
diff --git a/net/qoauth/Makefile b/net/qoauth/Makefile
index 48bc9374a404..5fedc9b2627c 100644
--- a/net/qoauth/Makefile
+++ b/net/qoauth/Makefile
@@ -8,27 +8,20 @@ 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
+COMMENT= Qt 4 support for OAuth-powered network services
-BUILD_DEPENDS+= qca-ossl>=2.0.0.b3:${PORTSDIR}/security/qca-ossl
+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
+USES= qmake
USE_LDCONFIG= yes
USE_BZIP2= yes
-USE_QT4= corelib qtestlib network qmake_build moc_build
-HAS_CONFIGURE= yes
+USE_QT4= corelib qtestlib network moc_build
USE_OPENSSL= yes
-QMAKEFLAGS+= PREFIX=${PREFIX}
-
-NO_STAGE= yes
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 <bsd.port.mk>
diff --git a/net/wpa_gui/Makefile b/net/wpa_gui/Makefile
index 9b56be3d971a..bc10d1d62c64 100644
--- a/net/wpa_gui/Makefile
+++ b/net/wpa_gui/Makefile
@@ -18,18 +18,14 @@ PLIST_FILES= sbin/wpa_gui \
share/applications/wpa_gui.desktop \
share/pixmaps/wpa_gui.svg
WRKSRC= ${WRKDIR}/${DISTNAME}/wpa_supplicant/wpa_gui-qt4
-USE_QT4= gui moc_build qmake_build rcc_build uic_build
-HAS_CONFIGURE= yes
+USE_QT4= gui moc_build rcc_build uic_build
+USES= qmake
post-patch:
@${REINPLACE_CMD} -e "s|Exec=wpa_gui|Exec=${PREFIX}/sbin/wpa_gui|" \
${WRKSRC}/wpa_gui.desktop
${MV} ${WRKDIR}/icons/hicolor ${WRKSRC}/icons
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/wpa_gui.desktop ${STAGEDIR}${PREFIX}/share/applications