1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

- Clarify LICENSE

- Add LICENSE_FILE
- Switch to USES=tar
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2015-12-10 15:15:14 +00:00
parent 652c54d330
commit dfb55550a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403463

View File

@ -6,17 +6,15 @@ PORTVERSION= 1.40
PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= http://nickgravgaard.com/windowlab/
EXTRACT_SUFX= .tar
DIST_SUBDIR= repacked
MAINTAINER= ports@FreeBSD.org
COMMENT= Small window manager for X11
LICENSE= GPLv2
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/LICENCE
OPTIONS_DEFINE= XFT DOCS
USES= gmake
USES= gmake tar
USE_XORG= x11 xext
MAKE_ENV= XROOT="${LOCALBASE}" SYSCONFDIR="${ETCDIR}"
@ -24,6 +22,8 @@ PORTDOCS= CHANGELOG README
PLIST_FILES= bin/windowlab %%ETCDIR%%/menurc \
man/man1/windowlab.1x.gz
OPTIONS_DEFINE= XFT DOCS
XFT_USE= XORG=xft
XFT_USES= pkgconfig
XFT_MAKE_ENV= EXTRA_INC="$$(pkg-config --cflags xft)" \
@ -42,6 +42,8 @@ do-install:
(cd ${WRKSRC} && ${INSTALL_MAN} windowlab.1x ${STAGEDIR}${MANPREFIX}/man/man1)
@${MKDIR} ${STAGEDIR}${ETCDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} windowlab.menurc ${STAGEDIR}${ETCDIR}/menurc)
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})