aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-05-31 17:02:44 +0800
committerantoine <antoine@FreeBSD.org>2013-05-31 17:02:44 +0800
commit6a9a1ecf978511e0cefbd5b965456e16bacc82f6 (patch)
treeacb893d0affd9025f959fe4f2a480def2495ce04
parente8ff41bdcb1ccc26423a574322100fd566125739 (diff)
downloadfreebsd-ports-gnome-6a9a1ecf978511e0cefbd5b965456e16bacc82f6.tar.gz
freebsd-ports-gnome-6a9a1ecf978511e0cefbd5b965456e16bacc82f6.tar.zst
freebsd-ports-gnome-6a9a1ecf978511e0cefbd5b965456e16bacc82f6.zip
- Trim Makefile header
- Install optimized bytecode and be prefix clean (PYDISTUTILS_INSTALLARGS+= has to be used after bsd.port.pre.mk is included) PR: ports/178468 Approved by: maintainer timeout (3 weeks), miwi, eadler (mentors, implicit)
-rw-r--r--sysutils/hachoir-metadata/Makefile11
-rw-r--r--sysutils/hachoir-metadata/pkg-plist20
2 files changed, 25 insertions, 6 deletions
diff --git a/sysutils/hachoir-metadata/Makefile b/sysutils/hachoir-metadata/Makefile
index 148860d2c756..70c6a3018ecc 100644
--- a/sysutils/hachoir-metadata/Makefile
+++ b/sysutils/hachoir-metadata/Makefile
@@ -1,12 +1,9 @@
-# New ports collection makefile for: hachoir-metadata
-# Date created: 25 January 2007
-# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
-#
+# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= hachoir-metadata
PORTVERSION= 1.3.3
+PORTREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
@@ -19,6 +16,8 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/hachoir_parser/__init__.py:${PORTSDIR}/devel/h
USE_PYTHON= yes
USE_PYDISTUTILS=yes
+.include <bsd.port.pre.mk>
+
PYDISTUTILS_CONFIGUREARGS+= --disable-qt
PYDISTUTILS_BUILDARGS+= --disable-qt
PYDISTUTILS_INSTALLARGS+= --disable-qt
@@ -29,4 +28,4 @@ pre-everything::
@${ECHO_MSG} "py-gtk (x11-toolkits/py-gtk2) installed."
@${ECHO_MSG} ""
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/hachoir-metadata/pkg-plist b/sysutils/hachoir-metadata/pkg-plist
index 25d096b5338f..a4c1f37546e6 100644
--- a/sysutils/hachoir-metadata/pkg-plist
+++ b/sysutils/hachoir-metadata/pkg-plist
@@ -2,42 +2,62 @@ bin/hachoir-metadata
bin/hachoir-metadata-gtk
%%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/config.py
%%PYTHON_SITELIBDIR%%/hachoir_metadata/config.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/config.pyo
%%PYTHON_SITELIBDIR%%/hachoir_metadata/file_system.py
%%PYTHON_SITELIBDIR%%/hachoir_metadata/file_system.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/file_system.pyo
%%PYTHON_SITELIBDIR%%/hachoir_metadata/filter.py
%%PYTHON_SITELIBDIR%%/hachoir_metadata/filter.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/filter.pyo
%%PYTHON_SITELIBDIR%%/hachoir_metadata/formatter.py
%%PYTHON_SITELIBDIR%%/hachoir_metadata/formatter.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/formatter.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/metadata_item.py
%%PYTHON_SITELIBDIR%%/hachoir_metadata/metadata_item.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/metadata_item.pyo
%%PYTHON_SITELIBDIR%%/hachoir_metadata/misc.py
%%PYTHON_SITELIBDIR%%/hachoir_metadata/misc.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/misc.pyo
%%PYTHON_SITELIBDIR%%/hachoir_metadata/program.py
%%PYTHON_SITELIBDIR%%/hachoir_metadata/program.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/program.pyo
%%PYTHON_SITELIBDIR%%/hachoir_metadata/register.py
%%PYTHON_SITELIBDIR%%/hachoir_metadata/register.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/register.pyo
%%PYTHON_SITELIBDIR%%/hachoir_metadata/riff.py
%%PYTHON_SITELIBDIR%%/hachoir_metadata/riff.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/riff.pyo
%%PYTHON_SITELIBDIR%%/hachoir_metadata/safe.py
%%PYTHON_SITELIBDIR%%/hachoir_metadata/safe.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/safe.pyo
%%PYTHON_SITELIBDIR%%/hachoir_metadata/setter.py
%%PYTHON_SITELIBDIR%%/hachoir_metadata/setter.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/setter.pyo
%%PYTHON_SITELIBDIR%%/hachoir_metadata/timezone.py
%%PYTHON_SITELIBDIR%%/hachoir_metadata/timezone.pyc
+%%PYTHON_SITELIBDIR%%/hachoir_metadata/timezone.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