aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Hutchinson <portmaster@bsdforge.com>2024-07-10 17:36:19 +0000
committerZsolt Udvari <uzsolt@FreeBSD.org>2024-07-10 17:36:19 +0000
commitf5bd252c2016873d04349b7fcd1b6885123fbafe (patch)
tree33cf8bbcae08a1b5062afa10eb16f9cab48e6acf
parent16c508494b4b22bd88f6795709715fbcac8c7906 (diff)
downloadports-f5bd252c2016873d04349b7fcd1b6885123fbafe.tar.gz
ports-f5bd252c2016873d04349b7fcd1b6885123fbafe.zip
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 <A.J.Caines@halplant.com> (maintainer)
-rw-r--r--x11-wm/bbpager/Makefile16
-rw-r--r--x11-wm/bbpager/pkg-plist3
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 <bsd.port.mk>
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