diff options
author | riggs <riggs@FreeBSD.org> | 2016-11-13 22:13:42 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2016-11-13 22:13:42 +0800 |
commit | 31e88c0acdb8dc1893ee135d83956636e33eeb4e (patch) | |
tree | 147c0c8817341b6d9d7e9f572c146c91afa78e5c /x11-wm | |
parent | 549a0b8776ea1b1b81661f2a7de215019dffa3eb (diff) | |
download | freebsd-ports-gnome-31e88c0acdb8dc1893ee135d83956636e33eeb4e.tar.gz freebsd-ports-gnome-31e88c0acdb8dc1893ee135d83956636e33eeb4e.tar.zst freebsd-ports-gnome-31e88c0acdb8dc1893ee135d83956636e33eeb4e.zip |
Use OPTION helpers for DOCS
PR: 213975
Submitted by: udvzsolt@gmail.com (maintainer)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/herbstluftwm/Makefile | 13 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/distinfo | 1 |
2 files changed, 11 insertions, 3 deletions
diff --git a/x11-wm/herbstluftwm/Makefile b/x11-wm/herbstluftwm/Makefile index 083ea8cd0cf2..cbdb89efcb66 100644 --- a/x11-wm/herbstluftwm/Makefile +++ b/x11-wm/herbstluftwm/Makefile @@ -25,6 +25,10 @@ DEFAULTCONF_DESC=Install default configuration (requires bash) OPTIONS_DEFAULT+=DEFAULTCONF OPTIONS_SUB= yes +ALL_TARGET= all-nodoc +INSTALL_TARGET= install-nodoc +DOCS_ALL_TARGET= doc +DOCS_INSTALL_TARGET= install DEFAULTCONF_RUN_DEPENDS=bash:shells/bash .include <bsd.port.options.mk> @@ -37,9 +41,6 @@ post-patch: .if ! ${PORT_OPTIONS:MZSH} ${REINPLACE_CMD} -e '/ZSHCOMPLETIONDIR/d' ${WRKSRC}/Makefile .endif -.if ! ${PORT_OPTIONS:MDOCS} - ${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile -.endif .if ! ${PORT_OPTIONS:MEXAMPLES} ${REINPLACE_CMD} -e '/EXAMPLESDIR/d' ${WRKSRC}/Makefile .endif @@ -47,6 +48,12 @@ post-patch: ${REINPLACE_CMD} -e '/CONFIGDIR/d' ${WRKSRC}/Makefile .endif +do-install-DOCS-off: + ${MKDIR} ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${MKDIR} ${STAGEDIR}${MANPREFIX}/man/man7 + ${INSTALL_MAN} ${WRKSRC}/doc/*.7 ${STAGEDIR}${MANPREFIX}/man/man7 + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/herbst* diff --git a/x11-wm/herbstluftwm/distinfo b/x11-wm/herbstluftwm/distinfo index ce8bd14e6708..e1f91732bfdd 100644 --- a/x11-wm/herbstluftwm/distinfo +++ b/x11-wm/herbstluftwm/distinfo @@ -1,2 +1,3 @@ +TIMESTAMP = 1477994139 SHA256 (herbstluftwm-0.7.0.tar.gz) = 7e2ffc30b7911407230a5eeb61e044cea78557999107d372bc2dbc3d82d0ae27 SIZE (herbstluftwm-0.7.0.tar.gz) = 247469 |