aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/badwm/Makefile
blob: 869cd057637c909d2fca1f78707799f849d7b7e4 (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
40
41
42
43
44
45
46
47
48
# New ports collection makefile for:    badwm
# Date created:             2002-10-24
# Whom:                 trevor
#
# $FreeBSD$
#

PORTNAME=   badwm
PORTVERSION=    0.1.1
PORTEPOCH=  1
CATEGORIES= x11-wm
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   BadWM-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Window manager based on evilwm

USE_X_PREFIX=   yes
USE_GNOME=  gnometarget
USE_GMAKE=  yes
GNU_CONFIGURE=  yes

MAN1=       BadWM.1
MAN5=       BadWMrc.5
MLINKS=     BadWM.1 badwm.1 \
        BadWMrc.5 badwmrc.5
PORTDOCS=   ${DOCS}
PLIST_FILES=    bin/BadWM bin/badwm

DOCS=       AUTHORS ChangeLog INSTALL LICENSE README THANKS TODO

post-patch:
    @${REINPLACE_CMD} -e 's|<getopt\.h>|<unistd.h>|g' ${WRKSRC}/src/main.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/BadWM ${PREFIX}/bin
    ${LN} -sf BadWM ${PREFIX}/bin/badwm
    ${INSTALL_MAN} ${WRKSRC}/man/BadWM.1 ${MANPREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/man/BadWMrc.5 ${MAN5PREFIX}/man/man5
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for ii in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>