aboutsummaryrefslogtreecommitdiffstats
path: root/misc/flyway/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-13 15:53:02 +0800
committerkrion <krion@FreeBSD.org>2004-04-13 15:53:02 +0800
commitbdab1ff604362084d51c55a6f54db3fa7c6a3bf0 (patch)
treed16fc2426210371d98b2e63dc636354b94b3ac8f /misc/flyway/Makefile
parent90a33e18b655f18035fb5e0e7c25f018e54ed8c3 (diff)
downloadfreebsd-ports-gnome-bdab1ff604362084d51c55a6f54db3fa7c6a3bf0.tar.gz
freebsd-ports-gnome-bdab1ff604362084d51c55a6f54db3fa7c6a3bf0.tar.zst
freebsd-ports-gnome-bdab1ff604362084d51c55a6f54db3fa7c6a3bf0.zip
- Update to 0.3.2
PR: ports/65463 Submitted by: michael johnson <ahze@ahze.net>
Diffstat (limited to 'misc/flyway/Makefile')
-rw-r--r--misc/flyway/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/misc/flyway/Makefile b/misc/flyway/Makefile
index fe434e9cbbd9..501a1503f642 100644
--- a/misc/flyway/Makefile
+++ b/misc/flyway/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= flyway
-PORTVERSION= 0.3.1
+PORTVERSION= 0.3.2
CATEGORIES= misc python
MASTER_SITES= http://www.bellz.org/flyway/
@@ -16,18 +16,20 @@ COMMENT= A VFR/IFR Route Planner for Pilots
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
-do-install:
- @${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME}
- ${CP} ${WRKSRC}/*.py ${PYTHON_SITELIBDIR}/${PORTNAME}
- ${CP} ${WRKSRC}/*.dat ${PYTHON_SITELIBDIR}/${PORTNAME}
- @${LN} -sf ${PYTHON_SITELIBDIR}/${PORTNAME}/flyway.py ${PREFIX}/bin/flyway
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${CP} ${WRKSRC}/README.html ${DOCSDIR}
+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>