Changeset View
Changeset View
Standalone View
Standalone View
graphics/djview4/Makefile
Show All 33 Lines | |||||
QT_DESC= Qt toolkit | QT_DESC= Qt toolkit | ||||
QT4_USES= qt:4 | QT4_USES= qt:4 | ||||
QT4_USE= QT=corelib,gui,network,opengl,linguisttools_build,moc_build,qmake_build,rcc_build,uic_build | QT4_USE= QT=corelib,gui,network,opengl,linguisttools_build,moc_build,qmake_build,rcc_build,uic_build | ||||
QT4_USE+= XORG=x11 | QT4_USE+= XORG=x11 | ||||
QT5_USES= qt:5 | QT5_USES= qt:5 | ||||
QT5_USE= QT=core,gui,network,opengl,printsupport,widgets,buildtools_build,linguisttools_build,qmake_build | QT5_USE= QT=core,gui,network,opengl,printsupport,widgets,buildtools_build,linguisttools_build,qmake_build | ||||
.include <bsd.port.options.mk> | |||||
.if ${PORT_OPTIONS:MQT4} | |||||
DEPRECATED= Qt4 has been EOL since december 2015 | |||||
EXPIRATION_DATE= 2019-03-15 | |||||
.endif | |||||
post-patch: | post-patch: | ||||
# Use prebuilt icons, without using conversion tool | # Use prebuilt icons, without using conversion tool | ||||
@${REINPLACE_CMD} -e 's/conversion_tool=[[:alpha:]]*/conversion_tool=no/' \ | @${REINPLACE_CMD} -e 's/conversion_tool=[[:alpha:]]*/conversion_tool=no/' \ | ||||
${WRKSRC}/configure.ac | ${WRKSRC}/configure.ac | ||||
@${REINPLACE_CMD} -e \ | @${REINPLACE_CMD} -e \ | ||||
'/CXXFLAGS=$$/s|^|#| ; \ | '/CXXFLAGS=$$/s|^|#| ; \ | ||||
/CFLAGS=$$/s|^|#| ; \ | /CFLAGS=$$/s|^|#| ; \ | ||||
s|$$OPTS -O2|$$OPTS|' ${WRKSRC}/config/acinclude.m4 | s|$$OPTS -O2|$$OPTS|' ${WRKSRC}/config/acinclude.m4 | ||||
Show All 15 Lines |