From f5bd252c2016873d04349b7fcd1b6885123fbafe Mon Sep 17 00:00:00 2001 From: Chris Hutchinson Date: Wed, 10 Jul 2024 19:36:19 +0200 Subject: [PATCH] x11-wm/bbpager: add LICENSE License is GPLv2 and add LICENSE_FILE (COPYING). Add ice and xft to USE_XORG. Remove COPYING from DOCS. Remove empty NEWS and INSTALL from DOCS. Pet portlint and portfmt. PR: 279106 Approved by: Andrew J. Caines (maintainer) --- x11-wm/bbpager/Makefile | 16 +++++++++------- x11-wm/bbpager/pkg-plist | 3 --- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/x11-wm/bbpager/Makefile b/x11-wm/bbpager/Makefile index c0d7e0b7da0f..59f2c5f95e10 100644 --- a/x11-wm/bbpager/Makefile +++ b/x11-wm/bbpager/Makefile @@ -1,6 +1,6 @@ PORTNAME= bbpager DISTVERSION= 0.4.7 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-wm MASTER_SITES= SF/bbtools/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -8,26 +8,28 @@ MAINTAINER= A.J.Caines@halplant.com COMMENT= Pager for the Blackbox window manager WWW= https://bbtools.sourceforge.net/ -OPTIONS_DEFINE= DOCS EXAMPLES -OPTIONS_SUB= yes +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= blackbox:x11-wm/blackbox USES= pathfix pkgconfig xorg -USE_XORG= xext sm x11 xau xcursor xi +USE_XORG= ice sm x11 xau xcursor xext xft xi GNU_CONFIGURE= yes CPPFLAGS+= `pkg-config --cflags xft` LDFLAGS+= `pkg-config --libs xft` -DOCS= AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \ - README TODO +DOCS= AUTHORS BUGS ChangeLog README TODO EXAMPLES= bbpager.rc README.bbpager +OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_SUB= yes + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/bbpager ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - @${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/data/,} ${STAGEDIR}${EXAMPLESDIR}/ + ${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/data/,} ${STAGEDIR}${EXAMPLESDIR}/ .include diff --git a/x11-wm/bbpager/pkg-plist b/x11-wm/bbpager/pkg-plist index 1dfc563e2284..05fc83ee9add 100644 --- a/x11-wm/bbpager/pkg-plist +++ b/x11-wm/bbpager/pkg-plist @@ -1,10 +1,7 @@ bin/bbpager %%DOCS%%%%DOCSDIR%%/AUTHORS %%DOCS%%%%DOCSDIR%%/BUGS -%%DOCS%%%%DOCSDIR%%/COPYING %%DOCS%%%%DOCSDIR%%/ChangeLog -%%DOCS%%%%DOCSDIR%%/INSTALL -%%DOCS%%%%DOCSDIR%%/NEWS %%DOCS%%%%DOCSDIR%%/README %%DOCS%%%%DOCSDIR%%/TODO %%EXAMPLES%%%%EXAMPLESDIR%%/README.bbpager