mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
4b856bf8d4
With hat: portmgr
40 lines
857 B
Makefile
40 lines
857 B
Makefile
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mirage
|
|
PORTVERSION= 0.9.5.2
|
|
PORTREVISION= 5
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/${PORTNAME}iv
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Fast and simple image viewer
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= desktop-file-utils gettext python:2.7 tar:bzip2
|
|
USE_GNOME= gtk20 pygtk2
|
|
USE_PYTHON= distutils
|
|
PYDISTUTILS_PKGNAME= Mirage
|
|
|
|
PORTDOCS= CHANGELOG README TODO TRANSLATORS
|
|
PORT_VERBS= ${PORTNAME} imgfuncs
|
|
|
|
OPTIONS_DEFINE= DOCS GNOME
|
|
|
|
GNOME_USE= GNOME=pygnome2
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
|
|
|
|
post-install:
|
|
(cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${STRIP_CMD} \
|
|
imgfuncs.so xmouse.so)
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|