# Created by: Mike Krutov # $FreeBSD$ PORTNAME= girara PORTVERSION= 0.2.7 CATEGORIES= x11-toolkits graphics MASTER_SITES= https://pwmt.org/projects/girara/download/ \ http://www.madpilot.net/~mad/pwmt.org/ MAINTAINER= madpilot@FreeBSD.org COMMENT= GTK3 Interface Library for Zathura PDF Viewer USE_GNOME= glib20 gtk30 USES= gmake pathfix pkgconfig PATHFIX_MAKEFILEIN= Makefile USE_LDCONFIG= yes USE_CSTD= gnu99 LIBDIR= ${PREFIX}/lib MAKE_ENV+= SFLAGS=${STRIP} \ VERBOSE=1 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext post-patch: .SILENT ${REINPLACE_CMD} -e 's|^\(CFLAGS +=\) -std=c11|\1|' \ ${WRKSRC}/config.mk post-patch-NLS-off: .SILENT ${REINPLACE_CMD} -e '/-C po/d' \ ${WRKSRC}/Makefile .include