summaryrefslogtreecommitdiff
path: root/x11-wm/antiwm/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-02-14 21:46:48 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-02-14 21:46:48 +0000
commit241a78ef37766fd15ec46ea69e0e68c2fbe68529 (patch)
tree790c0c95406711f92ab347f55b681525251deb78 /x11-wm/antiwm/Makefile
parent- Switch to options helpers (diff)
- Add LICENSE
- Switch to options helpers - Fix WWW:
Notes
Notes: svn path=/head/; revision=408898
Diffstat (limited to 'x11-wm/antiwm/Makefile')
-rw-r--r--x11-wm/antiwm/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/x11-wm/antiwm/Makefile b/x11-wm/antiwm/Makefile
index 807f32bbf863..4308890eaef4 100644
--- a/x11-wm/antiwm/Makefile
+++ b/x11-wm/antiwm/Makefile
@@ -9,12 +9,15 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Minimalist window manager inspired by Ratpoison
-OPTIONS_DEFINE= DOCS
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
USE_XORG= x11
PLIST_FILES= bin/antiwm
-PORTDOCS= README LICENSE
+PORTDOCS= README
+
+OPTIONS_DEFINE= DOCS
pre-everything::
@${ECHO_MSG} "You can build antiwm with your own conf.h using the ANTIWM_CONF knob:"
@@ -28,7 +31,9 @@ post-extract:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>