aboutsummaryrefslogtreecommitdiff
path: root/graphics/mirage
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-09-06 18:42:16 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-09-06 18:42:16 +0000
commit8142a0324a8bd8e31673cefe45fcbb5202ae80c6 (patch)
treec7d7bfe63c9566ba9bbbec0457724395e12d36e0 /graphics/mirage
parent2106171336e58a9e5e1fc076652268ef5f9f2f11 (diff)
Notes
Diffstat (limited to 'graphics/mirage')
-rw-r--r--graphics/mirage/Makefile17
-rw-r--r--graphics/mirage/pkg-descr2
2 files changed, 8 insertions, 11 deletions
diff --git a/graphics/mirage/Makefile b/graphics/mirage/Makefile
index 235aa7c3c796..2631d339f9c1 100644
--- a/graphics/mirage/Makefile
+++ b/graphics/mirage/Makefile
@@ -3,19 +3,18 @@
PORTNAME= mirage
PORTVERSION= 0.9.5.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= graphics
-MASTER_SITES= BERLIOS/mirageiv
+MASTER_SITES= SF/${PORTNAME}iv
MAINTAINER= pawel@FreeBSD.org
COMMENT= Fast and simple image viewer
LICENSE= GPLv3
-USES= gettext tar:bzip2
+USES= desktop-file-utils gettext python tar:bzip2
USE_GNOME= gtk20 pygtk2
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= Mirage
PORTDOCS= CHANGELOG README TODO TRANSLATORS
@@ -23,11 +22,7 @@ PORT_VERBS= ${PORTNAME} imgfuncs
OPTIONS_DEFINE= DOCS GNOME
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGNOME}
-USE_GNOME+= pygnome2
-.endif
+GNOME_USE= GNOME=pygnome2
post-patch:
@${REINPLACE_CMD} -e \
@@ -36,5 +31,7 @@ post-patch:
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ (cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${STRIP_CMD} \
+ imgfuncs.so xmouse.so)
.include <bsd.port.mk>
diff --git a/graphics/mirage/pkg-descr b/graphics/mirage/pkg-descr
index 7f90dd72d20b..153b53224443 100644
--- a/graphics/mirage/pkg-descr
+++ b/graphics/mirage/pkg-descr
@@ -9,4 +9,4 @@ Mirage is a fast and simple GTK+ image viewer.
- Command-line access
- Configurable interface
-WWW: http://mirageiv.berlios.de/
+WWW: http://mirageiv.sourceforge.net/