aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/wmii-devel
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2012-12-17 09:25:41 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2012-12-17 09:25:41 +0000
commit761aa6f2f61489edcbd32cb43f4bda76081dddcf (patch)
treefa3292d7427eabf621c8c06d03a6b49be261f105 /x11-wm/wmii-devel
parentc810d087f5fbc0429e3ebc3ef127a9851b1727a9 (diff)
downloadports-761aa6f2f61489edcbd32cb43f4bda76081dddcf.tar.gz
ports-761aa6f2f61489edcbd32cb43f4bda76081dddcf.zip
Notes
Diffstat (limited to 'x11-wm/wmii-devel')
-rw-r--r--x11-wm/wmii-devel/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/x11-wm/wmii-devel/Makefile b/x11-wm/wmii-devel/Makefile
index 27d2a92ea08f..3484973a790a 100644
--- a/x11-wm/wmii-devel/Makefile
+++ b/x11-wm/wmii-devel/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: Window Manager Improved 2 (beta)
-# Date created: 02 Jun 2005
-# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
-#
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= wmii
DISTVERSION= 3.9.2
@@ -12,10 +8,10 @@ MASTER_SITES= http://dl.suckless.org/wmii/
DISTNAME= wmii+ixp-${DISTVERSION}
EXTRACT_SUFX= .tbz
-MAINTAINER= danfe@FreeBSD.org
-COMMENT= A dynamic, minimalist window manager for X11
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Dynamic, minimalist window manager for X11
-LIB_DEPENDS= ixp.1:${PORTSDIR}/devel/libixp
+LIB_DEPENDS= ixp:${PORTSDIR}/devel/libixp
CONFLICTS= wmii-3.6*
LATEST_LINK= ${PORTNAME}-devel
@@ -30,12 +26,16 @@ MAKE_ENV= noisycc=1 # unmute build commands, useful for logs
MAN1= wimenu.1 wmii9menu.1 wmii.1 wmiir.1
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-patch: .SILENT
# Link against `devel/libixp' from ports and drop extraneous build options
${REINPLACE_CMD} -e '/libixp/d' ${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's,/usr/lib,${LOCALBASE}/lib, ; /^CFLAGS +=/d' \
${WRKSRC}/config.mk
-.if defined(NOPORTDOCS)
+.if ! ${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e '/doc/d' ${WRKSRC}/Makefile
${REINPLACE_CMD} -e '/DOCDIR/s,$$(INSTALL),:,' ${WRKSRC}/mk/common.mk
.endif