1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

- Development and homepage moved to SourceForge

- Convert to USES=python, use option helper
- Needs USES=desktop-file-utils, bump PORTREVISION
- Strip binaries
This commit is contained in:
Pawel Pekala 2014-09-06 18:42:16 +00:00
parent 2106171336
commit 8142a0324a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367464
2 changed files with 8 additions and 11 deletions

View File

@ -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>

View File

@ -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/