aboutsummaryrefslogtreecommitdiffstats
path: root/x11/fbdesk/Makefile
blob: f4da137c9ae29aaba11e9f62aeee3ac10335e356 (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
# Created by: Hendrik Scholz <hendrik@scholz.net>
# $FreeBSD$

PORTNAME=   fbdesk
PORTVERSION=    1.4.1
PORTREVISION=   6
CATEGORIES= x11
MASTER_SITES=   http://fluxbox.sourceforge.net/download/ \
        GENTOO/distfiles

MAINTAINER= ports@FreeBSD.org
COMMENT=    Fluxbox utility to create and manage icons on the desktop

LICENSE=    MIT

LIB_DEPENDS=    libpng.so:${PORTSDIR}/graphics/png

OPTIONS_DEFINE= IMLIB2 DOCS
OPTIONS_DEFAULT=    IMLIB2

USE_XORG=   xext xft xpm xrender
USES=       pkgconfig
WANT_EFL=   yes
GNU_CONFIGURE=  yes

PORTDOCS=   ChangeLog INSTALL README
PLIST_FILES=    bin/fbdesk

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MIMLIB2}
USE_EFL+=   imlib2
.else
CONFIGURE_ARGS+=    --disable-imlib2
.endif

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif

.include <bsd.port.mk>