diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-05-17 02:50:53 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-05-17 02:50:53 +0000 |
commit | a74bd0e4c7f26fed408af9f01075851e4a316590 (patch) | |
tree | fa259ab35ec8fd2656a6e77f270e52f61ca42514 /misc | |
parent | - Simplify MASTER_SITES (diff) |
- Simplify MASTER_SITES
- Clarify LICENSE
- Add LICENSE_FILE
- Add NO_ARCH
- Switch to options helpers
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=415372
Diffstat (limited to 'misc')
-rw-r--r-- | misc/xdg-menu/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/misc/xdg-menu/Makefile b/misc/xdg-menu/Makefile index 8e04599f886b..a7941ee36b6d 100644 --- a/misc/xdg-menu/Makefile +++ b/misc/xdg-menu/Makefile @@ -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}.tgz 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 support SUB_FILES= ${PORTNAME} -.include <bsd.port.options.mk> - 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} |