aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/wmanager/Makefile
blob: 042a0fb66230208998aee58a12808b5cc89c4384 (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: Will Andrews <andrews@technologist.com>
# $FreeBSD$

PORTNAME=   wmanager
PORTVERSION=    0.2.1
PORTREVISION=   13
CATEGORIES= x11-wm
MASTER_SITES=   ${MASTER_SITE_DEBIAN_POOL}
DISTNAME=   ${PORTNAME}_${PORTVERSION}.orig

MAINTAINER= ports@FreeBSD.org
COMMENT=    X11 window manager selector

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

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

PKGMESSAGE= ${WRKDIR}/pkg-message

USES=       gmake
USE_XORG=   x11 xext
USE_GL=     gl

OPTIONS_DEFINE= ADDONS DOCS EXAMPLES
OPTIONS_DEFAULT=ADDONS
ADDONS_DESC=    Install the helper scripts and manpages
OPTIONS_SUB=    yes

ADDONS_RUNDEPENDS=  wmanager-loop:${PORTSDIR}/x11-wm/wmanager-addons

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/wmanager ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in FAQ HISTORY INSTALL NEWS README TODO
    ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/.wmanagerrc ${STAGEDIR}${EXAMPLESDIR}/wmanagerrc_sample
    ${INSTALL_DATA} ${WRKSRC}/.xinitrc ${STAGEDIR}${EXAMPLESDIR}/xinitrc_sample

.include <bsd.port.mk>