diff options
Diffstat (limited to 'databases/sqlitebrowser/Makefile')
-rw-r--r-- | databases/sqlitebrowser/Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/databases/sqlitebrowser/Makefile b/databases/sqlitebrowser/Makefile index 6f02d9916bd7..afa099de0339 100644 --- a/databases/sqlitebrowser/Makefile +++ b/databases/sqlitebrowser/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= sqlitebrowser -PORTVERSION= 3.4.0 +PORTVERSION= 3.5.0 CATEGORIES= databases MAINTAINER= coder@tuxfamily.org @@ -13,9 +13,9 @@ LICENSE_COMB= dual WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-${GH_COMMIT} -USE_GITHUB= +USE_GITHUB= yes GH_ACCOUNT= sqlitebrowser -GH_COMMIT= 0358faa +GH_COMMIT= 634c51b GH_TAGNAME= ${GH_COMMIT} USES= cmake desktop-file-utils @@ -23,4 +23,16 @@ 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> |