# Created by: Olivier Cochard-Labbe # $FreeBSD: head/x11-fm/deforaos-browser/Makefile 412351 2016-04-01 14:33:55Z mat $ PORTNAME= deforaos-browser PORTVERSION= 0.5.0 PORTREVISION= 1 CATEGORIES= x11-fm MASTER_SITES= http://www.defora.org/os/download/download/4418/ DISTNAME= Browser-${PORTVERSION} MAINTAINER= olivier@FreeBSD.org COMMENT= DeforaOS desktop file browser LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \ libDesktop.so:x11/deforaos-libdesktop \ libXrandr.so:x11/libXrandr OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl USE_GNOME= gtk20 USES= desktop-file-utils pkgconfig USE_LDCONFIG= yes INSTALLS_ICONS= yes MAKE_ARGS+= PREFIX=${PREFIX} MAKE_ENV+= MANDIR=${STAGEDIR}${MANPREFIX}/man post-patch: ${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \ ${WRKSRC}/data/pkgconfig.sh ${REINPLACE_CMD} 's|-Wl,-pie||g' \ ${WRKSRC}/tests/Makefile \ ${WRKSRC}/tools/Makefile \ ${WRKSRC}/src/Makefile post-patch-DOCS-off: ${REINPLACE_CMD} -e '/^SUBDIRS/ s|doc||' ${WRKSRC}/Makefile post-patch-NLS-off: ${REINPLACE_CMD} 's|include po src|include src|' \ ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* \ ${STAGEDIR}${PREFIX}/lib/Desktop/widget/browser.so \ ${STAGEDIR}${PREFIX}/lib/Browser/plugins/* \ ${STAGEDIR}${PREFIX}/lib/libBrowser.so.0.0 .include