aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gazpacho/Makefile
blob: aa494e4b056b3dd80d801bbdc474a40905214932 (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
# New ports collection makefile for:    gazpacho
# Date created:     2006-09-08
# Whom:         Gustavo Fukao <gustavofukao@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   gazpacho
PORTVERSION=    0.7.2
PORTREVISION=   2
CATEGORIES= devel python
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gazpacho/0.7

MAINTAINER= gustavofukao@gmail.com
COMMENT=    GUI builder for the GTK+ toolkit

RUN_DEPENDS=    ${LOCALBASE}/bin/kiwi-i18n:${PORTSDIR}/x11-toolkits/py-kiwi
BUILD_DEPENDS=  ${LOCALBASE}/bin/kiwi-i18n:${PORTSDIR}/x11-toolkits/py-kiwi

NO_BUILD=   yes

USE_GNOME=  pygtk2
USE_PYTHON= yes
USE_PYDISTUTILS=    yes
USE_GETTEXT=    yes

PORTDOCS=   AUTHORS ChangeLog CONTRIBUTORS COPYING README NEWS

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -e 's|share/doc/gazpacho/examples|${EXAMPLESDIR}|g' ${WRKSRC}/setup.py

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
. endfor
.endif

.include <bsd.port.post.mk>