aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/wmii-devel
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2012-12-17 17:25:41 +0800
committerdanfe <danfe@FreeBSD.org>2012-12-17 17:25:41 +0800
commit71d7c383f46270f42714e6b812d523c98ecaf129 (patch)
treefa3292d7427eabf621c8c06d03a6b49be261f105 /x11-wm/wmii-devel
parent49e28401be2d98d1382041192cd9492d7afd8a88 (diff)
downloadfreebsd-ports-gnome-71d7c383f46270f42714e6b812d523c98ecaf129.tar.gz
freebsd-ports-gnome-71d7c383f46270f42714e6b812d523c98ecaf129.tar.zst
freebsd-ports-gnome-71d7c383f46270f42714e6b812d523c98ecaf129.zip
- Trim the headers per new rules
- Drop article from COMMENT, shlib versions - Convert to the new OPTIONS framework - Relinquish maintainership
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