From owner-svn-ports-all@freebsd.org Tue May 17 02:50:55 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F470B3E32D; Tue, 17 May 2016 02:50:55 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CC4D8146B; Tue, 17 May 2016 02:50:54 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4H2os5A048776; Tue, 17 May 2016 02:50:54 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4H2osK5048775; Tue, 17 May 2016 02:50:54 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201605170250.u4H2osK5048775@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 17 May 2016 02:50:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415372 - head/misc/xdg-menu X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 02:50:55 -0000 Author: amdmi3 Date: Tue May 17 02:50:53 2016 New Revision: 415372 URL: https://svnweb.freebsd.org/changeset/ports/415372 Log: - Simplify MASTER_SITES - Clarify LICENSE - Add LICENSE_FILE - Add NO_ARCH - Switch to options helpers Approved by: portmgr blanket Modified: head/misc/xdg-menu/Makefile Modified: head/misc/xdg-menu/Makefile ============================================================================== --- head/misc/xdg-menu/Makefile Tue May 17 02:45:35 2016 (r415371) +++ head/misc/xdg-menu/Makefile Tue May 17 02:50:53 2016 (r415372) @@ -5,7 +5,7 @@ PORTNAME= xdg-menu PORTVERSION= 1.5 PORTREVISION= 3 CATEGORIES= misc -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} \ +MASTER_SITES= SF \ SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= XDG-Menu-${DISTVERSION}.tgz \ ${PORTNAME}.png:icons @@ -15,7 +15,8 @@ EXTRACT_ONLY= XDG-Menu-${DISTVERSION}.tg MAINTAINER= horia@racoviceanu.com COMMENT= ROX panel applet that displays an applications menu button -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/Help/COPYING RUN_DEPENDS= ${LOCALBASE}/bin/rox:x11-fm/rox-filer \ ${PYTHON_PKGNAMEPREFIX}xdg>=0:devel/py-xdg \ @@ -26,6 +27,7 @@ DATADIR= ${PREFIX}/apps/XDG-Menu USES= python INSTALLS_ICONS= yes +NO_ARCH= yes PORTDOCS= * @@ -37,19 +39,16 @@ ROX_DESC= Enable ROX panel applet suppor SUB_FILES= ${PORTNAME} -.include - post-patch: @${REINPLACE_CMD} -i '' 's|/usr/lib|../../lib|' ${WRKSRC}/findrox.py -.if ! ${PORT_OPTIONS:MROX} +post-patch-ROX-off: @${REINPLACE_CMD} -i '' '/if not rox.confirm/,/sys.exit/s/^/#/' \ ${WRKSRC}/AppRun @${ECHO_MSG} @${ECHO_MSG} "You have not enabled ROX panel applet support" @${ECHO_MSG} @${FIND} ${WRKSRC} -name "*.bak" -delete -.endif do-build: @${PYTHON_CMD} -m compileall ${WRKSRC} @@ -64,6 +63,7 @@ do-install: ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/ +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/Help/|} ${STAGEDIR}${DOCSDIR}