aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/devilspie/Makefile
blob: 5b57733e371895bf75de0b97bca3cba1d6b1e4e9 (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
# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$

PORTNAME=   devilspie
PORTVERSION=    0.22
PORTREVISION=   6
CATEGORIES= x11-wm
MASTER_SITES=   http://www.burtonini.com/computing/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A window manipulation tool

USE_GNOME=  libwnck
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USES=       pkgconfig gettext
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

MAN1=       devilspie.1
PORTDOCS=   AUTHORS NEWS README TODO
PLIST_FILES=    bin/devilspie \
        share/locale/de/LC_MESSAGES/devilspie.mo

post-patch:
    @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||' \
        ${WRKSRC}/src/Makefile.in

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.include <bsd.port.mk>