aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/mcwm/Makefile
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-01-18 09:29:17 +0800
committerjgh <jgh@FreeBSD.org>2013-01-18 09:29:17 +0800
commitb633a56dfb8b32468eb030a4b9061fe046476beb (patch)
tree32e8d7e05e906c402cc605029f9ea64140a9f869 /x11-wm/mcwm/Makefile
parentb9065da0bab9ce28f6f2281a7d0490168bccacbd (diff)
downloadfreebsd-ports-gnome-b633a56dfb8b32468eb030a4b9061fe046476beb.tar.gz
freebsd-ports-gnome-b633a56dfb8b32468eb030a4b9061fe046476beb.tar.zst
freebsd-ports-gnome-b633a56dfb8b32468eb030a4b9061fe046476beb.zip
- makefile cleanup and trim historical header
- fix LIB_DEPENDS - while here trim COMMENT and use INSTALL_DATA PR: 175367 Submitted by: maintainer, jakub_lach@mailplus.pl
Diffstat (limited to 'x11-wm/mcwm/Makefile')
-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}