aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/flwm/Makefile
blob: e01910960393a9ef7b915a3d20ee6e9147d65e92 (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
# Created by: Dima Sivachenko <dima@chg.ru>
# $FreeBSD$

PORTNAME=   flwm
PORTVERSION=    1.02
PORTREVISION=   6
CATEGORIES= x11-wm
MASTER_SITES=   SF
EXTRACT_SUFX=   .tgz

MAINTAINER= gahr@FreeBSD.org
COMMENT=    The Fast Light Window Manager

LIB_DEPENDS=    fltk.1:${PORTSDIR}/x11-toolkits/fltk

USE_XORG=   x11 xt
GNU_CONFIGURE=  yes

CFLAGS+=    -DFL_LIBRARY

MAN1=       flwm.1
PLIST_FILES=    bin/flwm

post-patch:
    ${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g; /^main/s|^|int |g' ${WRKSRC}/${CONFIGURE_SCRIPT}
    ${REINPLACE_CMD} -e 's|^LIBS =.*|LIBS = `fltk-config --ldflags`|' ${WRKSRC}/Makefile

.include <bsd.port.mk>