# Created by: loïc bartoletti # $FreeBSD$ PORTNAME= sqlitebrowser PORTVERSION= 3.6.0 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= 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