aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-26 17:45:02 +0800
committermiwi <miwi@FreeBSD.org>2014-02-26 17:45:02 +0800
commit3c33ab330b21e5b189c91073a804f2b906d41629 (patch)
treef7185f2bac03d9615cce9d9c0d270592ca6da7d5 /x11-wm
parentfc67ed04110fc8efabd216c3597fbda749dff940 (diff)
downloadfreebsd-ports-gnome-3c33ab330b21e5b189c91073a804f2b906d41629.tar.gz
freebsd-ports-gnome-3c33ab330b21e5b189c91073a804f2b906d41629.tar.zst
freebsd-ports-gnome-3c33ab330b21e5b189c91073a804f2b906d41629.zip
- Stage support
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/blackbox/Makefile11
-rw-r--r--x11-wm/blackbox/pkg-plist3
2 files changed, 6 insertions, 8 deletions
diff --git a/x11-wm/blackbox/Makefile b/x11-wm/blackbox/Makefile
index 154fe7e7dfec..a88e65d28eb7 100644
--- a/x11-wm/blackbox/Makefile
+++ b/x11-wm/blackbox/Makefile
@@ -17,13 +17,11 @@ USES= pathfix pkgconfig iconv
USE_XORG= x11 xft
LDFLAGS+= ${ICONV_LIB}
-MAN1= bsetbg.1 bsetroot.1
PORTDOCS= README.bbtools README.bsetbg
OPTIONS_DEFINE= TOOLS_ONLY
TOOLS_ONLY_DESC= Do not install window manager, only tools
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTOOLS_ONLY}
@@ -32,7 +30,6 @@ COMMENT+= (tools only)
MAKE_ARGS= SUBDIRS="doc lib util" bin_PROGRAMS=bsetroot
INSTALL_TARGET= -C util install # XXX dirty hack :(
.else
-MAN1+= blackbox.1
PORTDOCS+= AUTHORS COMPLIANCE ChangeLog README RELNOTES TODO
.endif
@@ -44,11 +41,9 @@ post-install:
.if ${PORT_OPTIONS:MTOOLS_ONLY}
@${REINPLACE_CMD} -E '/[^s]\/blackbox|bstyleconvert|lib|include/d' \
${TMPPLIST}
- ${INSTALL_MAN} ${MAN1:S#^#${WRKSRC}/doc/#} ${MANPREFIX}/man/man1
-.endif
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S#^#${WRKSRC}/#} ${DOCSDIR}
+ ${INSTALL_MAN} ${MAN1:S#^#${WRKSRC}/doc/#} ${STAGEDIR}${MANPREFIX}/man/man1
.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S#^#${WRKSRC}/#} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/x11-wm/blackbox/pkg-plist b/x11-wm/blackbox/pkg-plist
index 01584c937834..0eae8f8391f1 100644
--- a/x11-wm/blackbox/pkg-plist
+++ b/x11-wm/blackbox/pkg-plist
@@ -28,6 +28,9 @@ include/bt/XDG.hh
%%DATADIR%%/styles/Purple
%%DATADIR%%/styles/Red
%%DATADIR%%/menu
+man/man1/blackbox.1.gz
+man/man1/bsetbg.1.gz
+man/man1/bsetroot.1.gz
@dirrm include/bt
@dirrm %%DATADIR%%/styles
@dirrm %%DATADIR%%