ports/databases/sqlitebrowser/Makefile
Baptiste Daroussin 2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00

34 lines
989 B
Makefile

# Created by: loïc bartoletti <lbartoletti@FreeBSD.org>
PORTNAME= sqlitebrowser
PORTVERSION= 3.12.1
PORTREVISION= 5
DISTVERSIONPREFIX= v
CATEGORIES= databases
MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= Visual tool to manage SQLite databases
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>