blob: 71aa74819e629d6655428fa9a1faedd39b2c3bb5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# New ports collection makefile for: Window Manager Improved 2 (snapshot)
# Date created: 02 Jun 2005
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= wmii
DISTVERSION= snap${SNAPDATE}
CATEGORIES= x11-wm
MASTER_SITES= http://dl.suckless.org/wmii/
DISTNAME= wmii+ixp-${DISTVERSION}
EXTRACT_SUFX= .tgz
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
SNAPDATE= 20090703
CONFLICTS= wmii-3.*
USE_ICONV= yes
USE_XORG= x11 xextproto xt xext xft
MAKE_ARGS= PREFIX="${PREFIX}" INCLUDE="${LOCALBASE}/include" \
CC="${CC} -c" LD="${CC}" LIBIXP="-lixp" STATIC="" \
LIBICONV="-liconv" MAN="${MANPREFIX}/man" \
VERS="3.6.${SNAPDATE}"
MAN1= wmii.1 wmiir.1 wimenu.1
post-patch: .SILENT
# Link against system libixp and strip debug build options
${REINPLACE_CMD} -e '/libixp/d' ${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's,-g,-L${LOCALBASE}/lib, ; /^CFLAGS +=/d' \
${WRKSRC}/config.mk
# Mute "hg: not found" messages
${REINPLACE_CMD} -e '/^VERS =/d' ${WRKSRC}/mk/wmii.mk
# Make actual compile/link commands appear in the build log; do not try to
# regenerate manpages
${REINPLACE_CMD} -E -e 's|^COMPILE=|& noisycc=yes | ; \
s|^LINK=|& noisycc=yes | ; s|\.man1 ||' ${WRKSRC}/mk/hdr.mk
.include <bsd.port.mk>
|