ports/databases/sqlitebrowser/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

32 lines
963 B
Makefile

PORTNAME= sqlitebrowser
PORTVERSION= 3.12.1
PORTREVISION= 7
DISTVERSIONPREFIX= v
CATEGORIES= databases
MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= Visual tool to manage SQLite databases
WWW= https://sqlitebrowser.org/
LICENSE= MPL20 GPLv3
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/lib/libantlr.a:devel/antlr
LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5
USES= compiler:c++11-lang cmake desktop-file-utils gnome qt:5 sqlite
CMAKE_ARGS+= -DQT_INCLUDE_DIR=${QT_INCDIR} -DQT_LIBRARY_DIR=${QT_LIBDIR}
USE_QT= core concurrent gui network printsupport testlib widgets \
buildtools:build linguisttools:build qmake:build xml
USE_GITHUB= yes
PORTSCOUT= ignore:1
post-patch:
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \
${WRKSRC}/src/PreferencesDialog.cpp ${WRKSRC}/src/Application.cpp
@${REINPLACE_CMD} -e 's|metainfo|appdata|' \
${WRKSRC}/src/src.pro ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>