diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-13 07:53:02 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-13 07:53:02 +0000 |
commit | ced0732d41175a9140b6d84aebed188d226cf982 (patch) | |
tree | ef07fcbba9121a2659aada87f09262168fe91a59 /misc/flyway/Makefile | |
parent | add guis 1.4 (diff) |
- Update to 0.3.2
PR: ports/65463
Submitted by: michael johnson <ahze@ahze.net>
Notes
Notes:
svn path=/head/; revision=106880
Diffstat (limited to 'misc/flyway/Makefile')
-rw-r--r-- | misc/flyway/Makefile | 20 |
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> |