diff options
author | makc <makc@FreeBSD.org> | 2013-11-22 20:55:00 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2013-11-22 20:55:00 +0800 |
commit | 612bc3c9c8698b6a8cdbb965267678a0ac829218 (patch) | |
tree | edc1328e7d68e649db202ae07c396b88869f73de /cad/qelectrotech/Makefile | |
parent | 83574ff9450fce1ff644a38992000262dfd6586b (diff) | |
download | freebsd-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 'cad/qelectrotech/Makefile')
-rw-r--r-- | cad/qelectrotech/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cad/qelectrotech/Makefile b/cad/qelectrotech/Makefile index ccc527f73d6b..643dba82932d 100644 --- a/cad/qelectrotech/Makefile +++ b/cad/qelectrotech/Makefile @@ -14,26 +14,26 @@ COMMENT= QElectroTech is application to design electric diagrams LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -USE_QT4= gui moc_build network qmake_build rcc_build \ - sql-sqlite3 svg uic_build xml designer +USES= qmake +USE_QT4= gui moc_build network rcc_build \ + sql-sqlite3_run svg uic_build xml designer USE_GCC= 4.7+ INSTALLS_ICONS= yes CXXFLAGS+= "-fno-ipa-sra" -QMAKEFLAGS+= QMAKE_RPATHDIR="${_GCC_RUNTIME}" +QMAKE_ARGS+= QMAKE_RPATHDIR="${_GCC_RUNTIME}" MAN1= qelectrotech.1 MANLANG= "" cs el es fr.ISO8859-1 fr.UTF-8 fr it pl pt_PT MANCOMPRESSED= yes -do-configure: +pre-configure: ${MV} ${WRKSRC}/man/files/pt ${WRKSRC}/man/files/pt_PT - ${REINPLACE_CMD} -e 's,/usr/local/,${STAGEDIR}${PREFIX}/,g' \ + ${REINPLACE_CMD} -e 's,/usr/local/,${PREFIX}/,g' \ ${WRKSRC}/${PORTNAME}.pro ${REINPLACE_CMD} -e 's,doc/,share/doc/,g' \ ${WRKSRC}/${PORTNAME}.pro ${REINPLACE_CMD} -e 's,../share,share,g' \ ${WRKSRC}/${PORTNAME}.pro - cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS} ${PORTNAME}.pro .include <bsd.port.mk> |