aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/narval/Makefile
blob: 150df2305c7872e3425b2fcfa2e302e780b15b20 (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
# ex:ts=8
# Ports collection Makefile for:    narval
# Date created:         Jan 4, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   narval
PORTVERSION=    2.0.2
PORTREVISION=   7
CATEGORIES= deskutils python
MASTER_SITES=   LOGILAB

MAINTAINER= ports@FreeBSD.org
COMMENT=    Network Assistant Reasoning with a Validating Agent Language

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/xmlrpclib.py:${PORTSDIR}/net/py-xmlrpclib \
        ${PYTHON_SITELIBDIR}/logilab/xmltools/XmlTree.py:${PORTSDIR}/textproc/py-xmltools \
        ${PYTHON_SITELIBDIR}/mx/DateTime/mxDateTime/__init__.py:${PORTSDIR}/lang/py-mx-base

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
USE_TWISTED=    yes
USE_GNOME=  pygtk2

.include <bsd.port.pre.mk>

.if defined(NOPORTDOCS)
post-patch:
    @${REINPLACE_CMD} -e 's|(.share/doc/narval., .doc.)||' ${WRKSRC}/__pkginfo__.py
.endif

before-install:
    @${REINPLACE_CMD} -e 's,/usr,${PREFIX},' ${WRKSRC}/conf/narval.conf.bak

post-install:
    @${INSTALL_DATA} ${WRKSRC}/conf/narval.conf ${PREFIX}/etc/narval/narval.conf.bak

.include <bsd.port.post.mk>