1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

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)
This commit is contained in:
Chris Hutchinson 2024-07-10 19:36:19 +02:00 committed by Zsolt Udvari
parent 16c508494b
commit f5bd252c20
2 changed files with 9 additions and 10 deletions

View File

@ -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>

View File

@ -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