aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-10 23:15:14 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-10 23:15:14 +0800
commitd9e0203760d564674fb073b041a59712abf3e169 (patch)
tree4f9b8d5c113272f6db7552e4dd6c9b7b88caffc2 /x11-wm
parent89bb6ca4c1244b092181b47c02686d5476e89974 (diff)
downloadfreebsd-ports-gnome-d9e0203760d564674fb073b041a59712abf3e169.tar.gz
freebsd-ports-gnome-d9e0203760d564674fb073b041a59712abf3e169.tar.zst
freebsd-ports-gnome-d9e0203760d564674fb073b041a59712abf3e169.zip
- Clarify LICENSE
- Add LICENSE_FILE - Switch to USES=tar - Switch to options helpers
Diffstat (limited to 'x11-wm')
-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})