diff options
Diffstat (limited to 'graphics/mirage/Makefile')
-rw-r--r-- | graphics/mirage/Makefile | 34 |
1 files changed, 26 insertions, 8 deletions
diff --git a/graphics/mirage/Makefile b/graphics/mirage/Makefile index 7d61d8708d1b..4f1a37055076 100644 --- a/graphics/mirage/Makefile +++ b/graphics/mirage/Makefile @@ -6,21 +6,39 @@ # PORTNAME= mirage -PORTVERSION= 0.9 -PORTREVISION= 2 +PORTVERSION= 0.9.3 CATEGORIES= graphics -MASTER_SITES= CENKES BERLIOS/mirageiv +MASTER_SITES= BERLIOS/mirageiv MAINTAINER= ports@FreeBSD.org COMMENT= Fast and simple image viewer USE_BZIP2= yes -USE_GNOME= gtk20 pygtk2 pygnome2 -USE_PYTHON= yes -USE_PYDISTUTILS=yes +USE_GNOME= gtk20 pygtk2 +WANT_GNOME= yes USE_GETTEXT= yes +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_PKGNAME= Mirage + PORT_VERBS= ${PORTNAME} imgfuncs -PYDISTUTILS_PKGNAME= Mirage +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mpygnome2}!="" +USE_GNOME+= pygnome2 +.endif + +post-patch: + @${REINPLACE_CMD} -e \ + 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in CHANGELOG README TODO TRANSLATORS + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |