1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/x11-wm/wmii/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

41 lines
1.2 KiB
Makefile

# New ports collection makefile for: Window Manager Improved 2
# Date created: 02 Jun 2005
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= wmii
DISTVERSION= 3.6
PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= http://www.suckless.org/download/
MAINTAINER= danfe@FreeBSD.org
COMMENT= A dynamic, minimalist window manager for X11
LIB_DEPENDS= ixp.1:${PORTSDIR}/devel/libixp
RUN_DEPENDS= dmenu:${PORTSDIR}/x11/dmenu \
${LOCALBASE}/9/bin/rc:${PORTSDIR}/devel/9base
USE_ICONV= yes
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="" \
LIBICONV="-liconv" MAN="${MANPREFIX}/man"
MAN1= wmii.1 wmiiloop.1 wmiir.1
post-patch: .SILENT
${REINPLACE_CMD} -e 's|-lfmt -lutf|$${LIBX11} & -lX11|' \
${WRKSRC}/cmd/Makefile
# Strip debug build options
${REINPLACE_CMD} -E 's| -g( -O0)?||' ${WRKSRC}/config.mk
# Make actual compile/link command appear in the build log
${REINPLACE_CMD} -e 's|^COMPILE=|& noisycc=yes | ; \
s|^LINK=|& noisycc=yes |' ${WRKSRC}/mk/hdr.mk
.include <bsd.port.mk>