aboutsummaryrefslogtreecommitdiffstats
path: root/misc
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 /misc
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 'misc')
-rw-r--r--misc/qbrew/Makefile20
-rw-r--r--misc/qmetro/Makefile11
-rw-r--r--misc/saaghar/Makefile14
3 files changed, 13 insertions, 32 deletions
diff --git a/misc/qbrew/Makefile b/misc/qbrew/Makefile
index d9ebce684240..4da6b2faf152 100644
--- a/misc/qbrew/Makefile
+++ b/misc/qbrew/Makefile
@@ -8,27 +8,17 @@ CATEGORIES= misc
MASTER_SITES= http://www.usermode.org/code/
MAINTAINER= david@usermode.org
-COMMENT= A homebrewer's recipe calculator
+COMMENT= Homebrewer's recipe calculator
-USE_QT4= qmake_build moc_build uic_build rcc_build xml gui
+USES= qmake
+USE_QT4= moc_build uic_build rcc_build xml gui
PORTDOCS= *
-HAS_CONFIGURE= yes
-CONFIGURE_ENV+= BINDIR="${PREFIX}/bin" \
+QMAKE_ARGS= CONFIG+="configure"
+QMAKE_ENV+= BINDIR="${PREFIX}/bin" \
DATADIR="${DATADIR}" \
DOCDIR="${DOCSDIR}"
-NO_STAGE= yes
-pre-configure:
-.if defined(NOPORTDOCS)
- @${REINPLACE_CMD} -e '/INSTALLS/s|doc||' \
- ${WRKSRC}/qbrew.pro
-.endif
-
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} -unix CONFIG+="configure" qbrew.pro
-
post-install:
${STRIP_CMD} ${PREFIX}/bin/qbrew
diff --git a/misc/qmetro/Makefile b/misc/qmetro/Makefile
index a4b249c28514..3d81ef176b55 100644
--- a/misc/qmetro/Makefile
+++ b/misc/qmetro/Makefile
@@ -11,15 +11,12 @@ COMMENT= Map of the transport system for many city subways
LICENSE= GPLv2
+USES= dos2unix qmake
USE_ZIP= yes
INSTALLS_ICONS= yes
-USE_QT4= gui xml qmake_build uic_build moc_build multimedia \
+USE_QT4= gui xml uic_build moc_build multimedia \
rcc_build
-QMAKEFLAGS= QMAKE_LFLAGS="-lz"
-USE_DOS2UNIX= rc/alarm.pri
-
-NO_STAGE= yes
-do-configure:
- cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
+LDFLAGS= -lz
+DOS2UNIX_FILES= rc/alarm.pri
.include <bsd.port.mk>
diff --git a/misc/saaghar/Makefile b/misc/saaghar/Makefile
index b2672960e4ce..84c3ee0fa9b7 100644
--- a/misc/saaghar/Makefile
+++ b/misc/saaghar/Makefile
@@ -17,17 +17,15 @@ LICENSE= GPLv3
EXTRACT_DEPENDS= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
+USES= qmake
USE_QT4= gui network sql xml sql-sqlite3_run \
- moc_build qmake_build rcc_build uic_build
-HAS_CONFIGURE= yes
-QMAKEFLAGS+= PREFIX=${PREFIX}
+ moc_build rcc_build uic_build
WRKSRC= ${WRKDIR}/Saaghar
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if !${PORT_OPTIONS:MDEBUG}
-QMAKEFLAGS+= -config release
+QMAKE_ARGS+= -config release
.endif
post-extract:
@@ -43,11 +41,7 @@ post-patch:
${WRKSRC}/QGanjoorDbStuff.h \
${WRKSRC}/mainwindow.cpp
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS} saaghar.pro
-
post-install:
- cd ${WRKDIR}/ganjoor && ${COPYTREE_SHARE} . ${DATADIR}
+ cd ${WRKDIR}/ganjoor && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>