aboutsummaryrefslogtreecommitdiffstats
path: root/devel/hgview
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2008-11-21 21:46:17 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2008-11-21 21:46:17 +0800
commit8c1a76cfa9ceb130c18ee0c4ea5e6df07fef5e14 (patch)
tree45a252f3e581e6100dc7277de9cfe2e1d5da3d12 /devel/hgview
parent4fdba47a3abe88db8ae0941b6aca1f75d7ebca64 (diff)
downloadfreebsd-ports-gnome-8c1a76cfa9ceb130c18ee0c4ea5e6df07fef5e14.tar.gz
freebsd-ports-gnome-8c1a76cfa9ceb130c18ee0c4ea5e6df07fef5e14.tar.zst
freebsd-ports-gnome-8c1a76cfa9ceb130c18ee0c4ea5e6df07fef5e14.zip
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/
Diffstat (limited to 'devel/hgview')
-rw-r--r--devel/hgview/Makefile38
-rw-r--r--devel/hgview/distinfo3
-rw-r--r--devel/hgview/pkg-descr4
-rw-r--r--devel/hgview/pkg-plist46
4 files changed, 91 insertions, 0 deletions
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 <amdmi3@FreeBSD.org>
+#
+# $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 <bsd.port.pre.mk>
+
+.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 <bsd.port.post.mk>
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