Index: graphics/zathura/Makefile =================================================================== --- graphics/zathura/Makefile (revision 470950) +++ graphics/zathura/Makefile (working copy) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= zathura -PORTVERSION= 0.3.8 +PORTVERSION= 0.4.0 CATEGORIES= graphics print MASTER_SITES= https://pwmt.org/projects/zathura/download/ \ http://www.madpilot.net/~mad/pwmt.org/ @@ -16,45 +16,17 @@ LIB_DEPENDS= libcairo.so:graphics/cairo \ libgirara-gtk3.so:x11-toolkits/girara \ libsynctex.so:devel/tex-synctex +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} -BUILD_DEPENDS+= rst2html:textproc/py-docutils - -USES= compiler:c11 gmake pathfix pkgconfig +USES= meson ninja compiler:c11 pkgconfig python tar:xz USE_GNOME= glib20 gtk30 gdkpixbuf2 -PATHFIX_MAKEFILEIN= Makefile -MAKE_ENV= SFLAGS="${STRIP}" \ - RSTTOMAN=${LOCALBASE}/bin/rst2man \ - WITH_SYNCTEX=1 -MAKE_ARGS+= APPDATAPREFIX=${LOCALBASE}/share/appdata -CPPFLAGS+= -DWITH_SYNCTEX - OPTIONS_DEFINE= NLS SQLITE OPTIONS_SUB= yes SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3 -SQLITE_MAKE_ENV= WITH_SQLITE=1 -SQLITE_MAKE_ENV_OFF= WITH_SQLITE=0 +SQLITE_MESON_ARGS_OFF= -Denable-sqlite=false NLS_USES= gettext -post-patch: .SILENT - ${REINPLACE_CMD} -e 's|man[15]|man/&|g' \ - ${WRKSRC}/Makefile - ${REINPLACE_CMD} -e 's|PLUGINDIR ?= .*$$|PLUGINDIR ?= ${PREFIX}/lib/zathura|'\ - ${WRKSRC}/config.mk - ${REINPLACE_CMD} -e '/^TPUT_AVAILABLE/d'\ - ${WRKSRC}/colors.mk - ${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \ - -e 's/-lc//' \ - -e 's/DL_LIB /#&/' \ - ${WRKSRC}/config.mk - ${REINPLACE_CMD} -e 's|/etc|${PREFIX}&|g' \ - ${WRKSRC}/zathura/config.h \ - ${WRKSRC}/doc/man/zathurarc.5.rst - (cd ${WRKSRC}; ${RM} zathura.1 zathurarc.5) - -post-patch-NLS-off: .SILENT - ${REINPLACE_CMD} -e '/-C po/d'\ - ${WRKSRC}/Makefile - .include Index: graphics/zathura/distinfo =================================================================== --- graphics/zathura/distinfo (revision 470950) +++ graphics/zathura/distinfo (working copy) @@ -1,3 +1,3 @@ -TIMESTAMP = 1514565466 -SHA256 (zathura-0.3.8.tar.gz) = 46bf8558f7ff12efe11bf5d19e6e223aac97126061677199d0c3d53dfcbce537 -SIZE (zathura-0.3.8.tar.gz) = 174962 +TIMESTAMP = 1527371284 +SHA256 (zathura-0.4.0.tar.xz) = aa629259c6ac729e90abdda1b9b51854adaa6851192f08a55e63379500541ec8 +SIZE (zathura-0.4.0.tar.xz) = 145056 Index: graphics/zathura/pkg-plist =================================================================== --- graphics/zathura/pkg-plist (revision 470950) +++ graphics/zathura/pkg-plist (working copy) @@ -5,13 +5,13 @@ include/zathura/page.h include/zathura/plugin-api.h include/zathura/types.h -include/zathura/version.h +include/zathura/zathura-version.h libdata/pkgconfig/zathura.pc man/man1/zathura.1.gz man/man5/zathurarc.5.gz -share/appdata/zathura.appdata.xml -share/applications/zathura.desktop +share/applications/org.pwmt.zathura.desktop share/dbus-1/interfaces/org.pwmt.zathura.xml +%%NLS%%share/icons/hicolor/128x128/apps/org.pwmt.zathura.png %%NLS%%share/locale/ca/LC_MESSAGES/zathura.mo %%NLS%%share/locale/cs/LC_MESSAGES/zathura.mo %%NLS%%share/locale/de/LC_MESSAGES/zathura.mo @@ -26,6 +26,7 @@ %%NLS%%share/locale/id_ID/LC_MESSAGES/zathura.mo %%NLS%%share/locale/it/LC_MESSAGES/zathura.mo %%NLS%%share/locale/lt/LC_MESSAGES/zathura.mo +%%NLS%%share/locale/nl/LC_MESSAGES/zathura.mo %%NLS%%share/locale/no/LC_MESSAGES/zathura.mo %%NLS%%share/locale/pl/LC_MESSAGES/zathura.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/zathura.mo @@ -33,3 +34,4 @@ %%NLS%%share/locale/ta_IN/LC_MESSAGES/zathura.mo %%NLS%%share/locale/tr/LC_MESSAGES/zathura.mo %%NLS%%share/locale/uk_UA/LC_MESSAGES/zathura.mo +%%NLS%%share/metainfo/org.pwmt.zathura.appdata.xml