e86c459a92
- Replace USE_QT4=linguist_build with USE_QT4=linguisttools_build. - Add missed corelib and network components into USE_QT4. - Regenerate patches. - Bump PORTREVISION PR: 201648 Submitted by: s3erios@gmail.com Approved by: maintainer timeout (coder@tuxfamily.org ; 25 days)
37 lines
941 B
Makefile
37 lines
941 B
Makefile
# Created by: loïc bartoletti <coder@tuxfamily.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sqlitebrowser
|
|
PORTVERSION= 3.6.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases
|
|
|
|
MAINTAINER= coder@tuxfamily.org
|
|
COMMENT= DB Browser for SQLite is a visual tool to manage SQLite databases
|
|
|
|
LICENSE= MPL GPLv3
|
|
LICENSE_COMB= dual
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= sqlitebrowser
|
|
GH_TAGNAME= e703344
|
|
|
|
USES= cmake desktop-file-utils
|
|
USE_QT4= corelib network gui qmake_build linguisttools_build \
|
|
moc_build uic_build rcc_build
|
|
USE_SQLITE= yes
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
post-patch:
|
|
@${ECHO} ${DATADIR}
|
|
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \
|
|
${WRKSRC}/src/PreferencesDialog.cpp
|
|
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \
|
|
${WRKSRC}/src/Application.cpp
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${LOCALBASE}/share/${PORTNAME}/translations
|
|
(cd ${WRKSRC}/translations && ${COPYTREE_SHARE} . ${STAGEDIR}${LOCALBASE}/share/${PORTNAME}/translations)
|
|
|
|
.include <bsd.port.mk>
|