aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/qxv
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 /graphics/qxv
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 'graphics/qxv')
-rw-r--r--graphics/qxv/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/graphics/qxv/Makefile b/graphics/qxv/Makefile
index 8f0b805ba46c..d843379b18eb 100644
--- a/graphics/qxv/Makefile
+++ b/graphics/qxv/Makefile
@@ -8,7 +8,7 @@ CATEGORIES+= graphics
MASTER_SITES= http://labs.freehackers.org/attachments/download/422/
MAINTAINER= cy@FreeBSD.org
-COMMENT= A QT4 program that displays images of various formats
+COMMENT= Qt 4 program that displays images of various formats
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
@@ -24,22 +24,15 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
expat.6:${PORTSDIR}/textproc/expat2 \
xcb.2:${PORTSDIR}/x11/xcb
-USES= iconv
+USES= iconv qmake
USE_BZIP2= yes
USE_XORG= sm xrender xext x11 xau xdmcp ice
-USE_QT4= corelib gui qmake_build moc_build uic_build rcc_build
+USE_QT4= corelib gui moc_build uic_build rcc_build
MAKE_JOBS_UNSAFE= yes
-HAS_CONFIGURE= yes
PLIST_FILES= bin/${PORTNAME}
-NO_STAGE= yes
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} PREFIX=${PREFIX} ${PORTNAME}.pro
-
do-install:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${INSTALL_PROGRAM} ${PORTNAME} ${LOCALBASE}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/
.include <bsd.port.mk>