aboutsummaryrefslogtreecommitdiffstats
path: root/misc/metromap/Makefile
blob: 68013f676db4af666a6dcc5d5fde9150543d0840 (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
# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru>
# $FreeBSD$

PORTNAME=   metromap
PORTVERSION=    0.1.4
PORTREVISION=   1
CATEGORIES= misc
MASTER_SITES=   http://metromap.antex.ru/ \
        http://mirror.amdmi3.ru/distfiles/

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    A simple application for finding paths in different subways maps

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/doc/COPYING

USE_PYTHON= yes
USE_GNOME=  pygtk2
USE_BZIP2=  yes
USES=       gettext gmake

PORTDOCS=   AUTHORS NEWS README README.data TODO

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e 's,/usr/bin/python,${SETENV} python,' ${WRKSRC}/metromap.py
    @${RM} -f ${WRKSRC}/modules/ReadMap.py.orig

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}/
.endfor

.include <bsd.port.mk>