blob: 2631d339f9c1f0bb9451e87d122c69896f0331b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= mirage
PORTVERSION= 0.9.5.2
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}iv
MAINTAINER= pawel@FreeBSD.org
COMMENT= Fast and simple image viewer
LICENSE= GPLv3
USES= desktop-file-utils gettext python 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:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
(cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${STRIP_CMD} \
imgfuncs.so xmouse.so)
.include <bsd.port.mk>
|