aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/mcwm
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-01-18 01:29:17 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-01-18 01:29:17 +0000
commitf8f8cbf1674d3250604eecd1d2ef16bc2539519f (patch)
tree32e8d7e05e906c402cc605029f9ea64140a9f869 /x11-wm/mcwm
parentccfdaa8df662d895966dba1875091cafa79ca27a (diff)
downloadports-f8f8cbf1674d3250604eecd1d2ef16bc2539519f.tar.gz
ports-f8f8cbf1674d3250604eecd1d2ef16bc2539519f.zip
Notes
Diffstat (limited to 'x11-wm/mcwm')
-rw-r--r--x11-wm/mcwm/Makefile23
1 files changed, 10 insertions, 13 deletions
diff --git a/x11-wm/mcwm/Makefile b/x11-wm/mcwm/Makefile
index ff0bf77b8c88..6d4a8f3417f7 100644
--- a/x11-wm/mcwm/Makefile
+++ b/x11-wm/mcwm/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: mcwm
-# Date created: 16 March 2011
-# Whom: Jakub Lach <jakub_lach@mailplus.pl>
-#
+# Created by: Jakub Lach <jakub_lach@mailplus.pl>
# $FreeBSD$
-#
PORTNAME= mcwm
PORTVERSION= 20111124
@@ -12,14 +8,14 @@ CATEGORIES= x11-wm
MASTER_SITES= http://hack.org/mc/hacks/mcwm/
MAINTAINER= jakub_lach@mailplus.pl
-COMMENT= A small window manager inspired by CTWM, evilwm, and tinywm
+COMMENT= Small window manager inspired by CTWM, evilwm, and tinywm
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= xcb-util:${PORTSDIR}/x11/xcb-util \
xcb-keysyms:${PORTSDIR}/x11/xcb-util-keysyms \
- xcb-icccm:${PORTSDIR}/x11/xcb-util-wm \
+ xcb-icccm:${PORTSDIR}/x11/xcb-util-wm
MAKE_JOBS_SAFE= yes
@@ -28,7 +24,7 @@ USE_BZIP2= yes
MAN1= mcwm.1
PLIST_FILES= bin/mcwm
-PORTDOCS= LICENSE README NEWS
+PORTDOCS= README NEWS
pre-everything::
@${ECHO_MSG} "You can build mcwm with your own config.h using the MCWM_CONF knob:"
@@ -45,17 +41,18 @@ post-patch:
${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \
${MAN1PREFIX}/man/man1/${PORTNAME}.1
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
@${MKDIR} ${DOCSDIR}
- @${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
- @${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
- @${INSTALL_MAN} ${WRKSRC}/NEWS ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}