aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/jwm/Makefile
blob: a6f6281fd75857ab326cd9dc84d320ec319f6b70 (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
# New ports collection makefile for:   jwm
# Date created:        26 DEC 2005
# Whom:                babak@farrokhi.net
#
# $FreeBSD$
#

PORTNAME=   jwm
PORTVERSION=    1.2
CATEGORIES= x11-wm
MASTER_SITES=   http://joewing.net/programs/jwm/ \
        http://joesbox.xmgfree.com/jwm/

MAINTAINER= babak@farrokhi.net
COMMENT=    Joe's Window Manager

USE_X_PREFIX=   yes
USE_XPM=    yes
HAS_CONFIGURE=  yes
USE_BZIP2=  yes
USE_REINPLACE=  yes

#CONFIGURE_ARGS=    --prefix=${PREFIX} --enable-icons \
#       --enable-png --enable-xpm --enable-shape \
#       --enable-xinerama --enable-xft --enable-xrender

CONFIGURE_ARGS+=    --enable-icons --enable-png --enable-xpm \
            --enable-shape --enable-xinerama --enable-xft \
            --enable-xrender

MAN1=       jwm.1
PLIST_FILES=    bin/jwm etc/system.jwmrc

post-patch:
        @${REINPLACE_CMD} -e 's,^CC =,CC ?=,' \
            -e 's,^CFLAGS =,CFLAGS +=,' \
        ${WRKSRC}/src/Makefile.in

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/jwm ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/example.jwmrc ${PREFIX}/etc/system.jwmrc
    ${INSTALL_MAN} ${WRKSRC}/jwm.1 ${MANPREFIX}/man/man1/

.include <bsd.port.mk>