summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-10 15:15:14 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-10 15:15:14 +0000
commitdfb55550a279e6bdc2dbb179427281a5543425d2 (patch)
tree4f9b8d5c113272f6db7552e4dd6c9b7b88caffc2
parent- Update to 2.0.3 (diff)
- Clarify LICENSE
- Add LICENSE_FILE - Switch to USES=tar - Switch to options helpers
Notes
Notes: svn path=/head/; revision=403463
-rw-r--r--x11-wm/windowlab/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/x11-wm/windowlab/Makefile b/x11-wm/windowlab/Makefile
index ab52b5d915a7..1ed000029cc3 100644
--- a/x11-wm/windowlab/Makefile
+++ b/x11-wm/windowlab/Makefile
@@ -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})