aboutsummaryrefslogtreecommitdiff
path: root/deskutils/narval/Makefile
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2005-08-26 21:59:03 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2005-08-26 21:59:03 +0000
commitdef7b19249176745173ac0624bbf97fc210257cc (patch)
treee3a10cd61d5da4e35fcebd7bfd7d980b5a4c3c3d /deskutils/narval/Makefile
parente88212ee93544dafc8b6a4a11a3f42b14ef392f1 (diff)
downloadports-def7b19249176745173ac0624bbf97fc210257cc.tar.gz
ports-def7b19249176745173ac0624bbf97fc210257cc.zip
Notes
Diffstat (limited to 'deskutils/narval/Makefile')
-rw-r--r--deskutils/narval/Makefile44
1 files changed, 13 insertions, 31 deletions
diff --git a/deskutils/narval/Makefile b/deskutils/narval/Makefile
index 4780d09446eb..7f51dfe42837 100644
--- a/deskutils/narval/Makefile
+++ b/deskutils/narval/Makefile
@@ -7,54 +7,36 @@
#
PORTNAME= narval
-PORTVERSION= 1.2.a.1
-PORTREVISION= 1
+PORTVERSION= 2.0.2
+PORTREVISION= 0
CATEGORIES= deskutils python
MASTER_SITES= ftp://ftp.logilab.org/pub/narval/ \
http://www.logilab.org/ftp/pub/narval/
-DISTNAME= Narval-${PORTVERSION:S/.a.1/a1/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Network Assistant Reasoning with a Validating Agent Language
-BROKEN= "Conflicting dependencies (py-gtk2 and py-gtk)"
-DEPRECATED= "${BROKEN}"
-EXPIRATION_DATE=2005-09-22
-
-RUN_DEPENDS= ${PYXML} \
- ${PYTHON_SITELIBDIR}/${XMLDIR}/xpath/__init__.py:${PORTSDIR}/textproc/py-4suite \
- ${PYTHON_SITELIBDIR}/gtk-1.2/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
+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_REINPLACE= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-DOCFILES= ANNOUNCE.en ANNOUNCE.fr CHANGELOG CONTRIBUTORS README.WIN32 README.UNIX faq.en.xml ../README ../license.txt
+USE_TWISTED= yes
+USE_GNOME= pygtk2
.include <bsd.port.pre.mk>
-.if ${ARCH} == "i386"
-BROKEN= "Does not build on i386"
-.endif
-
-.if ${PYTHON_VERSION} == "python1.5" || ${PYTHON_VERSION} == "python1.6"
-XMLDIR= xml
-.else
-XMLDIR= _xmlplus
+.if defined(NOPORTDOCS)
+post-patch:
+ @${REINPLACE_CMD} -e 's|(.share/doc/narval., .doc.)||' ${WRKSRC}/__pkginfo__.py
.endif
-PLIST_SUB+= PORTVERSION=${PORTVERSION}
-
-post-patch:
- @${REINPLACE_CMD} -e "s,/usr/share,${PREFIX}/share,g" ${WRKSRC}/conf/narval.conf
+before-install:
+ @${REINPLACE_CMD} -e 's,/usr,${PREFIX},' ${WRKSRC}/conf/narval.conf.bak
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}/docs
- @${MKDIR} ${DOCSDIR}/docs/NEP
- @cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR}/docs
- @${INSTALL_DATA} ${WRKSRC}/doc/NEP/* ${DOCSDIR}/docs/NEP/
-.endif
+ @${INSTALL_DATA} ${WRKSRC}/conf/narval.conf ${PREFIX}/etc/narval/narval.conf.bak
.include <bsd.port.post.mk>