freebsd-ports/databases/sqlitebrowser/Makefile
Mateusz Piotrowski 8de3261ff5 Fix PORTSCOUT=ignore:* uses throughout the tree
PORTSCOUT=ignore:1 is the only valid way syntax according to the
Portscout documentation. In disables the distfile version checks
completely. In order to ignore only certain version instead, it is
necessary to use other Portscout keys like skipv.

Also, remove the setting completely when it attempts to instruct
Portscout to skip versions older than the current one.

Approved by:	portmgr blanket
2021-04-15 23:37:15 +02:00

36 lines
1009 B
Makefile

# Created by: loïc bartoletti <lbartoletti@FreeBSD.org>
PORTNAME= sqlitebrowser
PORTVERSION= 3.12.1
PORTREVISION= 3
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
INSTALLS_ICONS= 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>