aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/evilwm/Makefile
blob: 677b0c62539f523436ac4233cd61674d9639ee05 (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:    evilwm
# Date created:             2000-11-04
# Whom:                 trevor
#
# $FreeBSD$
#

PORTNAME=   evilwm
PORTVERSION=    1.0.0
PORTREVISION=   1
CATEGORIES= x11-wm
MASTER_SITES=   http://www.6809.org.uk/evilwm/

MAINTAINER= lasg@lasg.dk
COMMENT=    Minimalist window manager based on 9wm

USE_XORG=   x11 xpm xext xrender
MAKE_ARGS=  CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"

MAN1=       evilwm.1
PORTDOCS=   ChangeLog README TODO
PLIST_FILES=    bin/evilwm

CFLAGS+=    -DSOLIDDRAG -DINFOBANNER -DVWM -DSHAPE -DMOUSE -DSNAP \
        -DSTDIO -DCOLOURMAP -DVERSION=\\\"${PORTVERSION}\\\" \
        -I${LOCALBASE}/include
LDFLAGS=    -L${LOCALBASE}/lib -lX11 -lXext

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>