freebsd-ports/net/quiterss/Makefile
Fernando Apesteguía 56113a83e6 net/quiterss: fix build with GCC-based architectures
PR:	237191
Submitted by:	pkubaj@anongoth.pl
Approved by:	lbartoletti@tuxfamily.org (maintainer)
2019-04-15 16:21:33 +00:00

40 lines
1 KiB
Makefile

# Created by: lbartoletti <coder@tuxfamily.org>
# $FreeBSD$
PORTNAME= quiterss
PORTVERSION= 0.18.12
PORTREVISION= 2
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= compiler:c++11-lang desktop-file-utils pkgconfig \
qmake:outsource qt:5 sqlite
USE_QT= buildtools_build linguisttools_build core xml gui widgets \
network multimedia printsupport webkit sql sql-sqlite3_run
OPTIONS_DEFINE= DEBUG
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>