mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
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)
34 lines
989 B
Makefile
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>
|