aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/olvwm/Makefile
blob: edd556f1356eb30056f0d6289cda580df896d6e5 (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
# New ports collection makefile for:    olvwm
# Date created:     21 October 1994
# Whom:         smace
#
# $FreeBSD$
#

PORTNAME=   olvwm
PORTVERSION=    4.2
CATEGORIES= x11-wm
MASTER_SITES=   ftp://ftp.x.org/R5contrib/ \
        ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= window_managers
DISTNAME=   ${PORTNAME}4
EXTRACT_SUFX=   .tar.Z

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

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

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

REINPLACE_ARGS= -i ""
NO_WRKSUBDIR=   yes
USE_IMAKE=  yes
USE_XPM=    yes
MAN1=       olvwm.1 olvwmrc.1
XFREE86_HTML_MAN=   no

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

.include <bsd.port.mk>