diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-12-17 09:25:41 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-12-17 09:25:41 +0000 |
commit | 761aa6f2f61489edcbd32cb43f4bda76081dddcf (patch) | |
tree | fa3292d7427eabf621c8c06d03a6b49be261f105 /x11-wm/wmii | |
parent | c810d087f5fbc0429e3ebc3ef127a9851b1727a9 (diff) | |
download | ports-761aa6f2f61489edcbd32cb43f4bda76081dddcf.tar.gz ports-761aa6f2f61489edcbd32cb43f4bda76081dddcf.zip |
Notes
Diffstat (limited to 'x11-wm/wmii')
-rw-r--r-- | x11-wm/wmii/Makefile | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/x11-wm/wmii/Makefile b/x11-wm/wmii/Makefile index b3c301cf08c8..432fc91ed5bd 100644 --- a/x11-wm/wmii/Makefile +++ b/x11-wm/wmii/Makefile @@ -1,20 +1,16 @@ -# New ports collection makefile for: Window Manager Improved 2 -# Date created: 02 Jun 2005 -# Whom: Alexey Dokuchaev <danfe@FreeBSD.org> -# +# Created by: Alexey Dokuchaev <danfe@FreeBSD.org> # $FreeBSD$ -# PORTNAME= wmii -DISTVERSION= 3.6 +DISTVERSION= 3.6 # this is stable version; for 3.9.x, use -devel port PORTREVISION= 3 CATEGORIES= x11-wm MASTER_SITES= http://dl.suckless.org/wmii/ -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 RUN_DEPENDS= dmenu:${PORTSDIR}/x11/dmenu CONFLICTS= wmii-3.9* @@ -28,19 +24,20 @@ MAKE_ARGS= PREFIX="${PREFIX}" INCLUDE="${LOCALBASE}/include" \ MAN1= wmii.1 wmiiloop.1 wmiir.1 -OPTIONS= SLIM_LAYOUT_BOX "Build with slim layout boxes" off \ - UTF8_TEXT "Work with UTF-8 instead of user locale" on +OPTIONS_DEFINE= SLIM_LAYOUT_BOX UTF8 + +SLIM_LAYOUT_BOX_DESC= Build with slim layout boxes .include <bsd.port.options.mk> -.if defined(WITH_UTF8_TEXT) +.if ${PORT_OPTIONS:MUTF8} USE_ICONV= yes MAKE_ARGS+= LIBICONV="-liconv" .else MAKE_ARGS+= -DNO_UTF8 .endif -.if defined(WITH_SLIM_LAYOUT_BOX) +.if ${PORT_OPTIONS:MSLIM_LAYOUT_BOX} EXTRA_PATCHES= ${FILESDIR}/extra-patch-slim-layout-boxes .endif @@ -55,8 +52,8 @@ post-patch: .SILENT # Make actual compile/link commands appear in the build log ${REINPLACE_CMD} -e 's|^COMPILE=|& noisycc=yes| ; \ s|^LINK=|& noisycc=yes|' ${WRKSRC}/mk/hdr.mk -# Fix brain-damaged piece of code; otherwise it breaks on archs where -# `size_t' is not 32-bit unsigned integer (e.g. amd64, sparc64) +# Fix brain-damaged piece of code which breaks on arches where `size_t' +# is not 32-bit unsigned integer (e.g. amd64, sparc64) ${REINPLACE_CMD} -e '/wmii_strlcat/d' ${WRKSRC}/include/util.h ${REINPLACE_CMD} -e 's|strlcat|wmii_&|' ${WRKSRC}/include/util.h \ ${WRKSRC}/cmd/util.c ${WRKSRC}/cmd/wmii/client.c |