# Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= wmii 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= ports@FreeBSD.org COMMENT= Dynamic, minimalist window manager for X11 LIB_DEPENDS= ixp:${PORTSDIR}/devel/libixp RUN_DEPENDS= dmenu:${PORTSDIR}/x11/dmenu CONFLICTS= wmii-3.9* USE_XORG= x11 xextproto xt xext MAKE_ARGS= PREFIX="${PREFIX}" INCLUDE="${LOCALBASE}/include" \ INCX11="-I${LOCALBASE}/include" LIBX11="-L${LOCALBASE}/lib" \ CC="${CC} -c" LD="${CC}" LIBIXP="-lixp" STATIC="" \ MAN="${MANPREFIX}/man" MAN1= wmii.1 wmiiloop.1 wmiir.1 OPTIONS_DEFINE= SLIM_LAYOUT_BOX UTF8 SLIM_LAYOUT_BOX_DESC= Build with slim layout boxes .include .if ${PORT_OPTIONS:MUTF8} USES+= iconv MAKE_ARGS+= LIBICONV="-liconv" .else MAKE_ARGS+= -DNO_UTF8 .endif .if ${PORT_OPTIONS:MSLIM_LAYOUT_BOX} EXTRA_PATCHES= ${FILESDIR}/extra-patch-slim-layout-boxes .endif post-patch: .SILENT ${REINPLACE_CMD} -e 's|-lfmt -lutf|$${LIBX11} & -lX11|' \ ${WRKSRC}/cmd/Makefile ${REINPLACE_CMD} -e '/_XOPEN_SOURCE/d' ${WRKSRC}/cmd/wmii/dat.h # Strip debug build options ${REINPLACE_CMD} -E 's| -g( -O0)?||' ${WRKSRC}/config.mk ${REINPLACE_CMD} -e 's|CFLAGS += -DIXPlint|& -DIXP_NEEDAPI=89|' \ ${WRKSRC}/config.mk # 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 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 .include npm_and_yarn/devel/electron4/files/elliptic-6.5.4 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* = Drop MD5 supportmiwi2011-07-031-2/+0
* - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-221-1/+1
* - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1
* Remove USE_REINPLACE from all categories starting with Eedwin2006-05-071-1/+0
* SHA256ifyedwin2006-01-221-0/+2
* - Chase allegro updatepav2005-11-131-1/+2
* - Fix MASTER_SITE_* together with :1 (tricksy!)pav2005-07-261-1/+1