aboutsummaryrefslogtreecommitdiff
path: root/graphics/mirage/Makefile
blob: 4f1a370550761fbbce3bc574cd1b40483515dc8d (plain) (blame)
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
38
39
40
41
42
43
44
# New ports collection makefile for:	mirage
# Date created:		31 January 2007
# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	mirage
PORTVERSION=	0.9.3
CATEGORIES=	graphics
MASTER_SITES=	BERLIOS/mirageiv

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Fast and simple image viewer

USE_BZIP2=	yes
USE_GNOME=	gtk20 pygtk2
WANT_GNOME=	yes
USE_GETTEXT=	yes
USE_PYTHON=	yes
USE_PYDISTUTILS=	yes
PYDISTUTILS_PKGNAME=	Mirage

PORT_VERBS=	${PORTNAME} imgfuncs

.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.post.mk>