diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-01-03 20:42:32 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-01-03 20:42:32 +0000 |
commit | 49342df43b46a416804abb9921138c974707a060 (patch) | |
tree | b5b4ce01b2bfa49fa5211c175eb04d11edfb9799 /deskutils/narval/Makefile | |
parent | fda1712f3851ac46988604dc69cfc23b17be9672 (diff) |
add narval 1.1
Network Assistant Reasoning with a Validating Agent Language
Notes
Notes:
svn path=/head/; revision=52542
Diffstat (limited to 'deskutils/narval/Makefile')
-rw-r--r-- | deskutils/narval/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/deskutils/narval/Makefile b/deskutils/narval/Makefile new file mode 100644 index 000000000000..5cf3df505044 --- /dev/null +++ b/deskutils/narval/Makefile @@ -0,0 +1,50 @@ +# ex:ts=8 +# Ports collection Makefile for: narval +# Date created: Jan 4, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= narval +PORTVERSION= 1.1 +CATEGORIES= deskutils python +MASTER_SITES= ftp://ftp.logilab.org/pub/narval/ \ + http://www.logilab.org/ftp/pub/narval/ +DISTNAME= Narval-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org + +USE_PYTHON= yes + +.include <bsd.port.pre.mk> + +.if ${PYTHON_VERSION} == "python1.5" || ${PYTHON_VERSION} == "python1.6" +XMLDIR= xml +.else +XMLDIR= _xmlplus +.endif + +RUN_DEPENDS= ${PYXML} \ + ${PYTHON_SITELIBDIR}/${XMLDIR}/xpath/__init__.py:${PORTSDIR}/textproc/py-4suite \ + ${PYTHON_SITELIBDIR}/GDK.py:${PORTSDIR}/x11-toolkits/py-gtk \ + ${PYTHON_SITELIBDIR}/xmlrpclib.py:${PORTSDIR}/net/py-xmlrpclib \ + ${PYTHON_SITELIBDIR}/logilab/xmltools/XmlTree.py:${PORTSDIR}/textproc/py-xmltools + +SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py + +PLIST_SUB+= PORTVERSION=${PORTVERSION} + +post-patch: + @${PERL} -pi -e "s,/etc,${PREFIX}/etc,g ; \ + s,base/doc,base/share/doc,g" ${WRKSRC}/setup.py + @${PERL} -pi -e "s,/etc,${PREFIX}/etc,g" ${WRKSRC}/narval/config.py + @${PERL} -pi -e "s,/usr/share,${PREFIX}/share,g" ${WRKSRC}/conf/narval.conf + +do-build: + @${SETUP_CMD} build + +do-install: + @${SETUP_CMD} install + +.include <bsd.port.post.mk> |