aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/Makefile2
-rw-r--r--sysutils/hachoir-metadata/Makefile21
-rw-r--r--sysutils/hachoir-metadata/distinfo3
-rw-r--r--sysutils/hachoir-metadata/pkg-descr13
-rw-r--r--sysutils/hachoir-metadata/pkg-plist29
-rw-r--r--sysutils/hachoir-urwid/Makefile22
-rw-r--r--sysutils/hachoir-urwid/distinfo3
-rw-r--r--sysutils/hachoir-urwid/pkg-descr4
-rw-r--r--sysutils/hachoir-urwid/pkg-plist11
9 files changed, 108 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 9f0766c15904..b26e64e7746d 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -274,6 +274,8 @@
SUBDIR += gtk-send-pr
SUBDIR += gtoaster
SUBDIR += gupsc
+ SUBDIR += hachoir-metadata
+ SUBDIR += hachoir-urwid
SUBDIR += hal
SUBDIR += hal-device-manager
SUBDIR += hammerhead
diff --git a/sysutils/hachoir-metadata/Makefile b/sysutils/hachoir-metadata/Makefile
new file mode 100644
index 000000000000..d160f259256f
--- /dev/null
+++ b/sysutils/hachoir-metadata/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: hachoir-metadata
+# Date created: 25 January 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hachoir-metadata
+PORTVERSION= 0.8.2
+CATEGORIES= sysutils python
+MASTER_SITES= http://cheeseshop.python.org/packages/source/h/${PORTNAME}/ CSME
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Extract metadata from files
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/hachoir_parser/__init__.py:${PORTSDIR}/devel/hachoir-parser
+
+USE_PYTHON= yes
+USE_PYDISTUTILS=yes
+
+.include <bsd.port.mk>
diff --git a/sysutils/hachoir-metadata/distinfo b/sysutils/hachoir-metadata/distinfo
new file mode 100644
index 000000000000..677a0f9c9c54
--- /dev/null
+++ b/sysutils/hachoir-metadata/distinfo
@@ -0,0 +1,3 @@
+MD5 (hachoir-metadata-0.8.2.tar.gz) = 6bb6b46f3943b9cfd9c1c3a20daaa164
+SHA256 (hachoir-metadata-0.8.2.tar.gz) = f16ba11b71dc1137f380291270c90637478bdf35ce5b8494301e16aa2e7611d7
+SIZE (hachoir-metadata-0.8.2.tar.gz) = 32054
diff --git a/sysutils/hachoir-metadata/pkg-descr b/sysutils/hachoir-metadata/pkg-descr
new file mode 100644
index 000000000000..54694d3cd80f
--- /dev/null
+++ b/sysutils/hachoir-metadata/pkg-descr
@@ -0,0 +1,13 @@
+hachoir-metadata is tool to extract metadata from multimedia files
+(sound, video, archives, etc.)
+* Support invalid / truncated files
+* Unicode compliant (charset ISO-8859-XX, UTF-8, UTF-16), convert
+ string to your terminal charset
+* Remove duplicate values (and if a string is a substring of another,
+ just keep the longest one)
+* Set priority to value, so it's possible to filter metadata (option
+ --level)
+* Only depends on hachoir-parser (and not on libmatroska, libmpeg2,
+ libvorbis, etc.)
+
+WWW: http://hachoir.org/wiki/hachoir-metadata
diff --git a/sysutils/hachoir-metadata/pkg-plist b/sysutils/hachoir-metadata/pkg-plist
new file mode 100644
index 000000000000..e30e7606ef32
--- /dev/null
+++ b/sysutils/hachoir-metadata/pkg-plist
@@ -0,0 +1,29 @@
+bin/hachoir-metadata
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/__init__.py
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/__init__.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/__init__.pyo
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/archive.py
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/archive.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/archive.pyo
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/audio.py
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/audio.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/audio.pyo
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/image.py
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/image.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/image.pyo
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/jpeg.py
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/jpeg.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/jpeg.pyo
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/metadata.py
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/metadata.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/metadata.pyo
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/riff.py
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/riff.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/riff.pyo
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/version.py
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/version.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/version.pyo
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/video.py
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/video.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/video.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/hachoir_metadata
diff --git a/sysutils/hachoir-urwid/Makefile b/sysutils/hachoir-urwid/Makefile
new file mode 100644
index 000000000000..3e7e6b69856d
--- /dev/null
+++ b/sysutils/hachoir-urwid/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: hachoir-urwid
+# Date created: 25 January 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hachoir-urwid
+PORTVERSION= 0.7.1
+CATEGORIES= sysutils python
+MASTER_SITES= http://cheeseshop.python.org/packages/source/h/${PORTNAME}/ CSME
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Binary file explorer
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/hachoir_parser/__init__.py:${PORTSDIR}/devel/hachoir-parser \
+ ${PYTHON_SITELIBDIR}/urwid/__init__.py:${PORTSDIR}/devel/py-urwid
+
+USE_PYTHON= yes
+USE_PYDISTUTILS=yes
+
+.include <bsd.port.mk>
diff --git a/sysutils/hachoir-urwid/distinfo b/sysutils/hachoir-urwid/distinfo
new file mode 100644
index 000000000000..b7eea6fa8e87
--- /dev/null
+++ b/sysutils/hachoir-urwid/distinfo
@@ -0,0 +1,3 @@
+MD5 (hachoir-urwid-0.7.1.tar.gz) = 50643a98a9d8757235bbb86aed8a9bd4
+SHA256 (hachoir-urwid-0.7.1.tar.gz) = 69fdbd3faa206d24cf8c59d02d52039120fad92d2c403c581518198ef950ace4
+SIZE (hachoir-urwid-0.7.1.tar.gz) = 15603
diff --git a/sysutils/hachoir-urwid/pkg-descr b/sysutils/hachoir-urwid/pkg-descr
new file mode 100644
index 000000000000..522262f4bbe1
--- /dev/null
+++ b/sysutils/hachoir-urwid/pkg-descr
@@ -0,0 +1,4 @@
+hachoir-urwid is the most sexy user interface based on hachoir-parser
+to explore a binary file.
+
+WWW: http://hachoir.org/wiki/hachoir-urwid
diff --git a/sysutils/hachoir-urwid/pkg-plist b/sysutils/hachoir-urwid/pkg-plist
new file mode 100644
index 000000000000..13d96f3bf12d
--- /dev/null
+++ b/sysutils/hachoir-urwid/pkg-plist
@@ -0,0 +1,11 @@
+bin/hachoir-urwid
+%%PYTHON_SITELIBDIR%%/hachoir_urwid/__init__.py
+%%PYTHON_SITELIBDIR%%/hachoir_urwid/__init__.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_urwid/__init__.pyo
+%%PYTHON_SITELIBDIR%%/hachoir_urwid/urwid_ui.py
+%%PYTHON_SITELIBDIR%%/hachoir_urwid/urwid_ui.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_urwid/urwid_ui.pyo
+%%PYTHON_SITELIBDIR%%/hachoir_urwid/version.py
+%%PYTHON_SITELIBDIR%%/hachoir_urwid/version.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_urwid/version.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/hachoir_urwid