56113a83e6
PR: 237191 Submitted by: pkubaj@anongoth.pl Approved by: lbartoletti@tuxfamily.org (maintainer)
40 lines
1 KiB
Makefile
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>
|