1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/net/quiterss/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

48 lines
1.2 KiB
Makefile

# Created by: lbartoletti <coder@tuxfamily.org>
# $FreeBSD$
PORTNAME= quiterss
PORTVERSION= 0.18.11
CATEGORIES= net
MASTER_SITES= http://quiterss.org/files/${PORTVERSION}/
DISTNAME= QuiteRSS-${PORTVERSION}-src
MAINTAINER= lbartoletti@tuxfamily.org
COMMENT= Open-source cross-platform RSS/Atom news feeds reader
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
NO_WRKSUBDIR= yes
USES= desktop-file-utils pkgconfig qmake:outsource sqlite
OPTIONS_DEFINE= DEBUG
OPTIONS_SINGLE= GUI
OPTIONS_SINGLE_GUI= QT4 QT5
OPTIONS_DEFAULT= QT5
QT4_USES= qt:4 qt:4
QT4_USE= QT=moc_build,rcc_build,uic_build,linguisttools_build
QT4_USE+= QT=corelib,gui,network,xml,webkit,phonon,sql,sql-sqlite3_run
QT5_USES= qt:5 qt:5
QT5_USE= QT=buildtools_build,linguisttools_build,core,xml,gui,widgets
QT5_USE+= QT=network,multimedia,printsupport,webkit,sql,sql-sqlite3_run
post-patch-DEBUG-on:
@${REINPLACE_CMD} 's|debug_and_release|debug|' \
${WRKSRC}/QuiteRSS.pro
post-patch-DEBUG-off:
@${REINPLACE_CMD} 's|debug_and_release|release|' \
${WRKSRC}/QuiteRSS.pro
post-patch:
@${REINPLACE_CMD} 's|$$$$\[QT_INSTALL_BINS\]/lrelease|${LRELEASE}|' \
${WRKSRC}/lang/lang.pri
@${REINPLACE_CMD} 's|$$$$PREFIX/share/quiterss|${DATADIR}|' \
${WRKSRC}/QuiteRSS.pro
.include <bsd.port.mk>