summaryrefslogtreecommitdiffstats
path: root/x11-wm/olvwm/Makefile
blob: 5433da5ef51f87a3d7c11a66bfe212cfe1a61c23 (plain)
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
# Created by: smace
# $FreeBSD$

PORTNAME=	olvwm
PORTVERSION=	4.2
PORTREVISION=	1
CATEGORIES=	x11-wm
MASTER_SITES=	ftp://ftp.x.org/R5contrib/ \
		XCONTRIB/window_managers \
		http://komquats.com/distfiles/ \
		LOCAL/cy
DISTNAME=	${PORTNAME}4

PATCH_SITES=	${MASTER_SITES}
PATCHFILES=	olvwm4.Patch01.Z \
		olvwm4.Patch02.Z
PATCH_DIST_STRIP=	-p1

MAINTAINER=	cy@FreeBSD.org
COMMENT=	OpenLook Virtual Window manager

LIB_DEPENDS=	libxview.so:${PORTSDIR}/x11-toolkits/xview

REINPLACE_ARGS= -i ""
NO_WRKSUBDIR=	yes
USES=		imake tar:Z
USE_XORG=	xpm
MAN1=		olvwm.1 olvwmrc.1
XFREE86_HTML_MAN=	no

IMAKECPPFLAGS+=	-DXVDestDir=${STAGEDIR}${PREFIX}

pre-configure:
	@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
	's|^#endif.*$$|#endif|;s|^#else.*$$|#else|;\
	s|^/\*\*/#*|XCOMM |'

.include <bsd.port.mk>
OpenPOWER on IntegriCloud