# Created by: Anders Nordby # $FreeBSD: head/x11-fm/gentoo/Makefile 408891 2016-02-14 21:42:04Z amdmi3 $ PORTNAME= gentoo PORTVERSION= 0.20.6 CATEGORIES= x11-fm MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= Gtk+ based, file manager inspired by DirectoryOpus LICENSE= GPLv2 # only LICENSE_FILE= ${WRKSRC}/COPYING USE_GNOME= gtk30 USES= gettext gmake pathfix pkgconfig GNU_CONFIGURE= yes CONFIGURE_ENV= MKDIR_P="${MKDIR}" OPTIONS_DEFINE= FAM DOCS FAM_USES= fam FAM_CONFIGURE_ENABLE= fam post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g ; \ s|/bin/mount|/sbin/mount|g ; \ s|/bin/umount|/sbin/umount|g' ${WRKSRC}/gentoorc.in @${REINPLACE_CMD} -e '/^CFLAGS/s|@GENTOO_CFLAGS@|@CFLAGS@|g' \ ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e 's|#define GTK_DISABLE_DEPRECATED||g' \ ${WRKSRC}/src/odmultibutton.c post-install: ${INSTALL_MAN} ${WRKSRC}/docs/gentoo.1x ${STAGEDIR}${MANPREFIX}/man/man1/gentoo.1 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in BUGS CONFIG-CHANGES CREDITS NEWS README README.NLS README.gtkrc \ TODO ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} ${RM} -f ${STAGEDIR}${DOCSDIR}/gentoo.1x .include