aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/jewel/Makefile
blob: 1589ef2865c391750c5d698c12903e5e46d6858a (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
# Created by: trevor
# $FreeBSD$

PORTNAME=   jewel
PORTVERSION=    0.12.41
PORTREVISION=   4
CATEGORIES= x11-wm
MASTER_SITES=   http://mjr.towers.org.uk/comp/

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

OPTIONS_DEFINE= DOCS

ALL_TARGET= all
DOCS=       Changelog Changelog.DLR Changelog.jewel INSTALL LICENSE README
PORTDOCS=   *
USES+=      gmake
USE_XORG=   x11 xext xpm

.include <bsd.port.options.mk>

post-patch:
    ${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
        ${REINPLACE_CMD} -i '' -e 's|g++|${CXX}|g; s|gcc|${CC}|g'

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/jewel ${STAGEDIR}${PREFIX}/bin/jewel
    ${INSTALL_PROGRAM} ${WRKSRC}/goodies/appbar/appbar ${STAGEDIR}${PREFIX}/bin/jewel-appbar
    ${INSTALL_PROGRAM} ${WRKSRC}/goodies/fspanel/fspanel ${STAGEDIR}${PREFIX}/bin/jewel-fspanel
    ${INSTALL_PROGRAM} ${WRKSRC}/goodies/setrootimage/setrootimage ${STAGEDIR}${PREFIX}/bin/jewel-setrootimage
    ${INSTALL_PROGRAM} ${WRKSRC}/goodies/xsession/xsession ${STAGEDIR}${PREFIX}/bin/jewel-xsession
    ${INSTALL_MAN} ${WRKSRC}/jewel.1x ${STAGEDIR}${PREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for ii in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${ii} ${STAGEDIR}${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>