aboutsummaryrefslogtreecommitdiff
path: root/net/giftui/Makefile
blob: aad2e340abb6340cc582657daaada358b94809b5 (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
# 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=	4
CATEGORIES=	net
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/gift

USE_BZIP2=	yes
USE_X_PREFIX=	yes
USE_GNOME=	gconf2 gtk20
USE_GMAKE=	yes
USE_REINPLACE=	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}|g' \
		${WRKSRC}/configure
	@${REINPLACE_CMD} -e 's|^giftuidocdir =.*|giftuidocdir =${DOCSDIR}|g' \
		${WRKSRC}/Makefile.in

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

.include <bsd.port.mk>