mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
597ff4aff6
PR: 137529 Submitted by: Ports Fury
45 lines
855 B
Makefile
45 lines
855 B
Makefile
# 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>
|