1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/net/quiterss/Makefile
Martin Wilke 9f97a6ae59 - Update to 1.18.12
PR:		230676
Submitted by:	maintainer
Sponsored by:	iXsystems Inc.
2018-09-28 18:17:49 +00:00

48 lines
1.2 KiB
Makefile

# Created by: lbartoletti <coder@tuxfamily.org>
# $FreeBSD$
PORTNAME= quiterss
PORTVERSION= 0.18.12
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>