freebsd-ports/databases/sqlitebrowser/Makefile
Mathieu Arnold c6457ffef4 Update ports in the [bcd]* categories to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-06 15:16:53 +00:00

35 lines
900 B
Makefile

# Created by: loïc bartoletti <coder@tuxfamily.org>
# $FreeBSD$
PORTNAME= sqlitebrowser
PORTVERSION= 3.5.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= 1d12977
USES= cmake desktop-file-utils
USE_QT4= gui qmake_build linguist_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>