aboutsummaryrefslogtreecommitdiffstats
path: root/misc/flyway/Makefile
blob: 965d4e217e530d1e15b4180ea7ea52866c924f3d (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
# ex:ts=8
# Ports collection makefile for:    flyway
# Date created:         Mar 14, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   flyway
PORTVERSION=    0.3.3
PORTREVISION=   1
CATEGORIES= misc python
MASTER_SITES=   http://www.bellz.org/flyway/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A VFR/IFR Route Planner for Pilots

BUILD_DEPENDS=  pyuic:${PORTSDIR}/x11-toolkits/py-qt
RUN_DEPENDS=    pyuic:${PORTSDIR}/x11-toolkits/py-qt

USE_X_PREFIX=   yes
USE_PYTHON= yes
USE_REINPLACE=  yes
NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/FlyWay
PORTDOCS=   README.html INSTALL LICENSE

post-patch:
.if defined(NOPORTDOCS)
    @${REINPLACE_CMD} -e 's|doc||' \
        ${WRKSRC}/install.py
.endif

do-install:
    (cd ${WRKSRC};${PYTHON_CMD} ${WRKSRC}/install.py -p ${PREFIX})

.include <bsd.port.mk>