diff --git a/x11-wm/blackbox/Makefile b/x11-wm/blackbox/Makefile index 62b751bc4858..22162817b52f 100644 --- a/x11-wm/blackbox/Makefile +++ b/x11-wm/blackbox/Makefile @@ -1,55 +1,56 @@ PORTNAME= blackbox PORTVERSION= 0.70.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= x11-wm MASTER_SITES= SF/${PORTNAME}wm/${PORTNAME}wm/Blackbox%20${PORTVERSION} MAINTAINER= A.J.Caines@halplant.com COMMENT= Small and fast window manager for X11R6 WWW= https://blackboxwm.sourceforge.net/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= pathfix pkgconfig iconv xorg USE_CXXSTD= c++14 USE_XORG= x11 xft GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share LDFLAGS+= ${ICONV_LIB} PORTDOCS= README.bbtools README.bsetbg OPTIONS_DEFINE= TOOLS_ONLY DOCS TOOLS_ONLY_DESC= Do not install window manager, only tools TOOLS_ONLY_MAKE_ARGS= SUBDIRS="doc lib util" bin_PROGRAMS=bsetroot TOOLS_ONLY_INSTALL_TARGET= -C util install # XXX dirty hack :( TOOLS_ONLY_VARS= PKGNAMESUFFIX=-tools \ COMMENT+="(tools only)" TOOLS_ONLY_VARS_OFF= PORTDOCS+="AUTHORS COMPLIANCE ChangeLog README RELNOTES TODO" MANPAGES= bsetbg.1 bsetroot.1 .include .if ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == powerpc EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_Toolbar.cc .endif post-patch: # Fix the build with libX11 > 1.40 @${REINPLACE_CMD} -e 's/_XUTIL_H_/_X11&/' ${WRKSRC}/lib/Util.hh post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S#^#${WRKSRC}/#} ${STAGEDIR}${DOCSDIR} post-install-TOOLS_ONLY-on: @${REINPLACE_CMD} -E '/[^s]\/blackbox|bstyleconvert|lib|include/d' \ ${TMPPLIST} - ${INSTALL_MAN} ${MANPAGES:S#^#${WRKSRC}/doc/#} ${STAGEDIR}${PREFIX}/man/man1 + ${INSTALL_MAN} ${MANPAGES:S#^#${WRKSRC}/doc/#} ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/x11-wm/blackbox/pkg-plist b/x11-wm/blackbox/pkg-plist index 405f8e9108cf..8454b0cd990d 100644 --- a/x11-wm/blackbox/pkg-plist +++ b/x11-wm/blackbox/pkg-plist @@ -1,33 +1,33 @@ bin/blackbox bin/bsetbg bin/bsetroot bin/bstyleconvert lib/libbt.a libdata/pkgconfig/libbt.pc include/bt/Application.hh include/bt/Bitmap.hh include/bt/Color.hh include/bt/Display.hh include/bt/EWMH.hh include/bt/EventHandler.hh include/bt/Font.hh include/bt/Image.hh include/bt/Menu.hh include/bt/Pen.hh include/bt/PixmapCache.hh include/bt/Rect.hh include/bt/Resource.hh include/bt/Texture.hh include/bt/Timer.hh include/bt/Unicode.hh include/bt/Util.hh include/bt/XDG.hh %%DATADIR%%/styles/Blue %%DATADIR%%/styles/Gray %%DATADIR%%/styles/Green %%DATADIR%%/styles/Purple %%DATADIR%%/styles/Red %%DATADIR%%/menu -man/man1/blackbox.1.gz -man/man1/bsetbg.1.gz -man/man1/bsetroot.1.gz +share/man/man1/blackbox.1.gz +share/man/man1/bsetbg.1.gz +share/man/man1/bsetroot.1.gz