Changeset View
Changeset View
Standalone View
Standalone View
net/quiterss/Makefile
Show All 24 Lines | |||||
QT4_USES= qt:4 qt:4 | QT4_USES= qt:4 qt:4 | ||||
QT4_USE= QT=moc_build,rcc_build,uic_build,linguisttools_build | QT4_USE= QT=moc_build,rcc_build,uic_build,linguisttools_build | ||||
QT4_USE+= QT=corelib,gui,network,xml,webkit,phonon,sql,sql-sqlite3_run | QT4_USE+= QT=corelib,gui,network,xml,webkit,phonon,sql,sql-sqlite3_run | ||||
QT5_USES= qt:5 qt:5 | QT5_USES= qt:5 qt:5 | ||||
QT5_USE= QT=buildtools_build,linguisttools_build,core,xml,gui,widgets | QT5_USE= QT=buildtools_build,linguisttools_build,core,xml,gui,widgets | ||||
QT5_USE+= QT=network,multimedia,printsupport,webkit,sql,sql-sqlite3_run | QT5_USE+= QT=network,multimedia,printsupport,webkit,sql,sql-sqlite3_run | ||||
.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-DEBUG-on: | post-patch-DEBUG-on: | ||||
@${REINPLACE_CMD} 's|debug_and_release|debug|' \ | @${REINPLACE_CMD} 's|debug_and_release|debug|' \ | ||||
${WRKSRC}/QuiteRSS.pro | ${WRKSRC}/QuiteRSS.pro | ||||
post-patch-DEBUG-off: | post-patch-DEBUG-off: | ||||
@${REINPLACE_CMD} 's|debug_and_release|release|' \ | @${REINPLACE_CMD} 's|debug_and_release|release|' \ | ||||
${WRKSRC}/QuiteRSS.pro | ${WRKSRC}/QuiteRSS.pro | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} 's|$$$$\[QT_INSTALL_BINS\]/lrelease|${LRELEASE}|' \ | @${REINPLACE_CMD} 's|$$$$\[QT_INSTALL_BINS\]/lrelease|${LRELEASE}|' \ | ||||
${WRKSRC}/lang/lang.pri | ${WRKSRC}/lang/lang.pri | ||||
@${REINPLACE_CMD} 's|$$$$PREFIX/share/quiterss|${DATADIR}|' \ | @${REINPLACE_CMD} 's|$$$$PREFIX/share/quiterss|${DATADIR}|' \ | ||||
${WRKSRC}/QuiteRSS.pro | ${WRKSRC}/QuiteRSS.pro | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |