aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/awesome2/Makefile
blob: 6a14744567b764436cadb3285af8fdf0fdae6e19 (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
# New ports collection makefile for:   awesome
# Date created:                September 26, 2007
# Whom:                        Nikos Ntarmos <ntarmos@ceid.upatras.gr>
#
# $FreeBSD$
#

PORTNAME=	awesome
PORTVERSION=	2.0
CATEGORIES=	x11-wm
MASTER_SITES=	http://awesome.naquadah.org/download/

MAINTAINER=	ntarmos@ceid.upatras.gr
COMMENT=	A tiling window manager initially based on a dwm code rewriting

BUILD_DEPENDS=	asciidoc:${PORTSDIR}/textproc/asciidoc \
		xmlto:${PORTSDIR}/textproc/xmlto
LIB_DEPENDS=	confuse.0:${PORTSDIR}/devel/libconfuse \
		cairo.2:${PORTSDIR}/graphics/cairo \
		freetype.9:${PORTSDIR}/print/freetype2

USE_XLIB=	yes

MAN1=		awesome.1 \
		awesome-client.1
PLIST_FILES=	bin/awesome \
		bin/awesome-client
PORTDOCS=	AUTHORS LICENSE README
PORTEXAMPLES=	awesomerc

post-install:
.if !defined(NOPORTDOCS)
	@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_MAN} ${WRKSRC}/AUTHORS ${DOCSDIR}
	@${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
	@${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
	@${ECHO_MSG} "installing example config file to ${EXAMPLESDIR}"
	@${MKDIR} ${EXAMPLESDIR}
	@${INSTALL_MAN} ${WRKSRC}/awesomerc ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>