# Created by: Gustau Perez i Querol # $FreeBSD$ # $MCom$ PORTNAME= gnome-shell-extension-trash PORTVERSION= 0.0.0.20140520 CATEGORIES= deskutils gnome DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Gnome-shell trash indicator BUILD_DEPENDS= gnome-shell>=0:${PORTSDIR}/x11/gnome-shell \ gsettings-desktop-schemas>=3.12.0:${PORTSDIR}/devel/gsettings-desktop-schemas RUN_DEPENDS= gnome-shell>=0:${PORTSDIR}/x11/gnome-shell \ gsettings-desktop-schemas>=3.12.0:${PORTSDIR}/devel/gsettings-desktop-schemas WRKSRC= ${WRKDIR}/bertoldia-gnome-shell-trash-extension-b2e4aae USES= gettext gmake pkgconfig tar:xz USE_GNOME= glib20 USE_GITHUB= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GH_ACCOUNT= bertoldia GH_TAGNAME= b2e4aae90a GH_COMMIT= b2e4aae90a GH_PROJECT= gnome-shell-trash-extension PKGMESSAGE= ../gnome-shell-extra-extensions/pkg-message.slaves NO_BUILD= yes post-patch: @${REINPLACE_CMD} -e 's|3.10|3.10","3.12|g' \ ${WRKSRC}/metadata.json do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/gnome-shell-trash-extension @(cd ${WRKSRC} && ${CP} -pPR * \ ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/gnome-shell-trash-extension) .include