aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/giftui/Makefile
blob: 668eec258fffa17d946ce60097877116117425a0 (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
46
47
48
# New ports collection makefile for: giFTui
# Date Created:         23 May 2004
# Whom:             Joel Diaz <joeldiaz@bellsouth.net>
#
# $FreeBSD$
#

PORTNAME=   giFTui
PORTVERSION=    0.4.1
PORTREVISION=   6
CATEGORIES= net-p2p
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= giftui
DISTNAME=   giftui-0.4.1

MAINTAINER= joeldiaz@bellsouth.net
COMMENT=    GTK2 client for giFT daemon

LIB_DEPENDS=    gift.0:${PORTSDIR}/net-p2p/gift

USE_BZIP2=  yes
USE_XLIB=   yes
USE_GNOME=  gnomehack gnomeprefix gconf2 gtk20
USE_GMAKE=  yes
GNU_CONFIGURE=  yes

GCONF_SCHEMAS=  giftui.schemas

.if !defined(NOPORTDOCS)
PORTDOCS=   AUTHORS COPYING ChangeLog NEWS README TODO
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|^giftuidatadir=.*|giftuidatadir=$${datadir}/giftui|g ; \
        s|^giftuiicondir=.*|giftuiicondir=$${datadir}/pixmaps|g' \
            ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|^giftuidocdir =.*|giftuidocdir =${DOCSDIR}|g' \
        ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e 's|/usr/share/pixmaps/||g' \
        ${WRKSRC}/data/giftui.desktop

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>