aboutsummaryrefslogtreecommitdiffstats
path: root/x11/fbdesk/Makefile
blob: 31d7563287abd19af157cde570750551a856b730 (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
# New ports collection makefile for:    fbdesk
# Date created: 16 January 2003
# Whom: Hendrik Scholz <hendrik@scholz.net>
#
# $FreeBSD$
#

PORTNAME=   fbdesk
PORTVERSION=    1.2.1
CATEGORIES= x11
MASTER_SITES=   http://fluxbox.sourceforge.net/download/

MAINTAINER= hendrik@scholz.net
COMMENT=    A Fluxbox utility to create and manage icons on the desktop

LIB_DEPENDS=    png.5:${PORTSDIR}/graphics/png \
        Xft.2:${PORTSDIR}/x11-fonts/libXft

PLIST_FILES=    bin/fbdesk
USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes

PORTDOCS=   COPYING ChangeLog INSTALL README

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500000
USE_REINPLACE=  yes
post-patch:
    ${REINPLACE_CMD} -e "s/inttypes\.h/stdint\.h/" \
        ${WRKSRC}/src/FbTk/Timer.hh
.endif

post-install:
.ifndef (NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>