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

PORTNAME=   fbdesk
PORTVERSION=    1.4.0
CATEGORIES= x11
MASTER_SITES=   http://fluxbox.sourceforge.net/download/ \
        ${MASTER_SITE_GENTOO} \
        http://dl.fkb.wormulon.net/fbdesk/ \
        http://dl.kel.wormulon.net/fbdesk/
MASTER_SITE_SUBDIR= distfiles

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
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>