From 8c1a76cfa9ceb130c18ee0c4ea5e6df07fef5e14 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Fri, 21 Nov 2008 13:46:17 +0000 Subject: A faster implementation of hgk using pygtk/pyqt4. Its primary purpose was to be able to browse the linux kernel mercurial repository. WWW: http://www.logilab.org/project/name/hgview/ --- devel/hgview/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ devel/hgview/distinfo | 3 +++ devel/hgview/pkg-descr | 4 ++++ devel/hgview/pkg-plist | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 91 insertions(+) create mode 100644 devel/hgview/Makefile create mode 100644 devel/hgview/distinfo create mode 100644 devel/hgview/pkg-descr create mode 100644 devel/hgview/pkg-plist (limited to 'devel/hgview') diff --git a/devel/hgview/Makefile b/devel/hgview/Makefile new file mode 100644 index 000000000000..0f3769de3514 --- /dev/null +++ b/devel/hgview/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: hgview +# Date created: 20 Nov 2008 +# Whom: Dmitry Marakasov +# +# $FreeBSD$ +# + +PORTNAME= hgview +PORTVERSION= 0.9.0 +CATEGORIES= devel +MASTER_SITES= http://ftp.logilab.org/pub/hgview/ + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Gtk or Qt4 based mercurial repository browser + +USE_PYTHON= yes +USE_PYDISTUTILS=yes + +MAN1= hgview.1 + +OPTIONS= GTK "GTK dependency" on \ + QT "QT4 dependency" off + +.include + +.if !defined(WITHOUT_GTK) +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gtk>=2.12.1:${PORTSDIR}/x11-toolkits/py-gtk2 +.endif + +.if defined(WITH_QT) +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/__pkginfo__.py \ + ${WRKSRC}/hgview/__pkginfo__.py + +.include diff --git a/devel/hgview/distinfo b/devel/hgview/distinfo new file mode 100644 index 000000000000..4018b93babe5 --- /dev/null +++ b/devel/hgview/distinfo @@ -0,0 +1,3 @@ +MD5 (hgview-0.9.0.tar.gz) = e622337ba601e54eaa1fb1452b97bd0e +SHA256 (hgview-0.9.0.tar.gz) = 584ae29516b2c0a3cda7a45b4bc529beab0f6bf8f7010f5a15a98994e6de8961 +SIZE (hgview-0.9.0.tar.gz) = 45405 diff --git a/devel/hgview/pkg-descr b/devel/hgview/pkg-descr new file mode 100644 index 000000000000..3a6826689765 --- /dev/null +++ b/devel/hgview/pkg-descr @@ -0,0 +1,4 @@ +A faster implementation of hgk using pygtk/pyqt4. Its primary purpose +was to be able to browse the linux kernel mercurial repository. + +WWW: http://www.logilab.org/project/name/hgview/ diff --git a/devel/hgview/pkg-plist b/devel/hgview/pkg-plist new file mode 100644 index 000000000000..9ebb02ed86c1 --- /dev/null +++ b/devel/hgview/pkg-plist @@ -0,0 +1,46 @@ +bin/hgview +%%PYTHON_SITELIBDIR%%/hgview/__init__.py +%%PYTHON_SITELIBDIR%%/hgview/__init__.pyc +%%PYTHON_SITELIBDIR%%/hgview/__init__.pyo +%%PYTHON_SITELIBDIR%%/hgview/__pkginfo__.py +%%PYTHON_SITELIBDIR%%/hgview/__pkginfo__.pyc +%%PYTHON_SITELIBDIR%%/hgview/__pkginfo__.pyo +%%PYTHON_SITELIBDIR%%/hgview/buildtree.py +%%PYTHON_SITELIBDIR%%/hgview/buildtree.pyc +%%PYTHON_SITELIBDIR%%/hgview/buildtree.pyo +%%PYTHON_SITELIBDIR%%/hgview/fixes.py +%%PYTHON_SITELIBDIR%%/hgview/fixes.pyc +%%PYTHON_SITELIBDIR%%/hgview/fixes.pyo +%%PYTHON_SITELIBDIR%%/hgview/gtk/__init__.py +%%PYTHON_SITELIBDIR%%/hgview/gtk/__init__.pyc +%%PYTHON_SITELIBDIR%%/hgview/gtk/__init__.pyo +%%PYTHON_SITELIBDIR%%/hgview/gtk/diffstatrenderer.py +%%PYTHON_SITELIBDIR%%/hgview/gtk/diffstatrenderer.pyc +%%PYTHON_SITELIBDIR%%/hgview/gtk/diffstatrenderer.pyo +%%PYTHON_SITELIBDIR%%/hgview/gtk/graphrenderer.py +%%PYTHON_SITELIBDIR%%/hgview/gtk/graphrenderer.pyc +%%PYTHON_SITELIBDIR%%/hgview/gtk/graphrenderer.pyo +%%PYTHON_SITELIBDIR%%/hgview/gtk/hgview_gtk.py +%%PYTHON_SITELIBDIR%%/hgview/gtk/hgview_gtk.pyc +%%PYTHON_SITELIBDIR%%/hgview/gtk/hgview_gtk.pyo +%%PYTHON_SITELIBDIR%%/hgview/hgrepo.py +%%PYTHON_SITELIBDIR%%/hgview/hgrepo.pyc +%%PYTHON_SITELIBDIR%%/hgview/hgrepo.pyo +%%PYTHON_SITELIBDIR%%/hgview/hgviewrc.py +%%PYTHON_SITELIBDIR%%/hgview/hgviewrc.pyc +%%PYTHON_SITELIBDIR%%/hgview/hgviewrc.pyo +%%PYTHON_SITELIBDIR%%/hgview/qt4/__init__.py +%%PYTHON_SITELIBDIR%%/hgview/qt4/__init__.pyc +%%PYTHON_SITELIBDIR%%/hgview/qt4/__init__.pyo +%%PYTHON_SITELIBDIR%%/hgview/qt4/hgrepomodel.py +%%PYTHON_SITELIBDIR%%/hgview/qt4/hgrepomodel.pyc +%%PYTHON_SITELIBDIR%%/hgview/qt4/hgrepomodel.pyo +%%PYTHON_SITELIBDIR%%/hgview/qt4/hgview_qt4.py +%%PYTHON_SITELIBDIR%%/hgview/qt4/hgview_qt4.pyc +%%PYTHON_SITELIBDIR%%/hgview/qt4/hgview_qt4.pyo +%%DATADIR%%/hgview.glade +%%DATADIR%%/hgview.ui +@dirrm %%DATADIR%% +@dirrm %%PYTHON_SITELIBDIR%%/hgview/qt4 +@dirrm %%PYTHON_SITELIBDIR%%/hgview/gtk +@dirrm %%PYTHON_SITELIBDIR%%/hgview -- cgit