diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-09-28 17:01:46 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-09-28 17:01:46 +0800 |
commit | 9bd8e6463a124f4412fd390044941b0c9a2736aa (patch) | |
tree | 6d36c0dc2586a8363e9c4ec6d4a2d7bf9e99ec78 /x11-wm | |
parent | 57c5a5fdbbba2aded7678ae655fa78c11fe14571 (diff) | |
download | freebsd-ports-gnome-9bd8e6463a124f4412fd390044941b0c9a2736aa.tar.gz freebsd-ports-gnome-9bd8e6463a124f4412fd390044941b0c9a2736aa.tar.zst freebsd-ports-gnome-9bd8e6463a124f4412fd390044941b0c9a2736aa.zip |
- Fix LICENSE
- Add LICENSE_FILE
- Switch to options helpers
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/obmenu/Makefile | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/x11-wm/obmenu/Makefile b/x11-wm/obmenu/Makefile index 43431ce3424e..1a2cf2365ee3 100644 --- a/x11-wm/obmenu/Makefile +++ b/x11-wm/obmenu/Makefile @@ -10,23 +10,25 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Menu manager for Openbox supporting both static and pipe menus -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING -USES= python shebangfix -USE_GNOME= pygtk2 -USE_PYTHON= distutils +USES= python shebangfix +USE_GNOME= pygtk2 +USE_PYTHON= distutils PYDISTUTILS_PKGNAME= obMenu -SHEBANG_FILES= obmenu obxml.py pipes/obm-xdg -NO_ARCH= yes - -PORTDOCS= README -OPTIONS_DEFINE= DOCS +SHEBANG_FILES= obmenu obxml.py pipes/obm-xdg +NO_ARCH= yes SUB_FILES= pkg-message +PORTDOCS= README + DESKTOP_ENTRIES="Obmenu" "Menu manager for Openbox" ${PORTNAME} \ "${PORTNAME}" "Settings;" "" +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e '/itm.nodeName.lower()/s|execute|command|; \ /self.dom.createElement("execute")/s|execute|command|; \ @@ -38,10 +40,11 @@ post-patch: ${WRKSRC}/obmenu post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} - ${LN} -sf ${DATADIR}/mnu48.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + .include <bsd.port.mk> |