aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/olvwm/Makefile
blob: 13f9591ce15c93218aba6308369b5e5dd05a0cfe (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
# 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:x11-toolkits/xview

REINPLACE_ARGS= -i ""
NO_WRKSUBDIR=   yes
USES=       imake tar:Z xorg
USE_XORG=   xpm

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>