summaryrefslogblamecommitdiff
path: root/deskutils/narval/Makefile
blob: a712c02200e7075c638ea2091582865af956cde0 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                              
                     
                 


                                                      

                                 
                                                                            
 


                                                                                                   
 
                   
                           

                      


                          


                                                                                       

      

                                                                               
 
             
                                                                                        

                           
# ex:ts=8
# Ports collection Makefile for:	narval
# Date created:			Jan 4, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	narval
PORTVERSION=	2.0.2
PORTREVISION=	1
CATEGORIES=	deskutils python
MASTER_SITES=	ftp://ftp.logilab.org/pub/narval/ \
		http://www.logilab.org/ftp/pub/narval/

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>