diff options
author | drochner <drochner> | 2003-07-28 14:57:00 +0000 |
---|---|---|
committer | drochner <drochner> | 2003-07-28 14:57:00 +0000 |
commit | db41441cc00025e5c76868889ba631ff7c99b7dc (patch) | |
tree | 4e0463099c0fab84fba1148224512a8f4f384f5e /misc | |
parent | 06b8973c0eb1174c0a03cc66ff3fd92cb2698455 (diff) | |
download | pkgsrc-db41441cc00025e5c76868889ba631ff7c99b7dc.tar.gz |
import routeplanner-cli-0.11, a routeplanner written in Python
(you'll probably not use it to plan the next trip, but it is still a
good example for graph manipulation in Python)
Diffstat (limited to 'misc')
-rw-r--r-- | misc/routeplanner-cli/DESCR | 3 | ||||
-rw-r--r-- | misc/routeplanner-cli/Makefile | 45 | ||||
-rw-r--r-- | misc/routeplanner-cli/PLIST | 11 | ||||
-rw-r--r-- | misc/routeplanner-cli/distinfo | 4 |
4 files changed, 63 insertions, 0 deletions
diff --git a/misc/routeplanner-cli/DESCR b/misc/routeplanner-cli/DESCR new file mode 100644 index 00000000000..315e760f58a --- /dev/null +++ b/misc/routeplanner-cli/DESCR @@ -0,0 +1,3 @@ +A highway trip planner based (a long, long time ago) on Jim +Butterfield's RoadRoute for the Amiga computer. If there's any +original RoadRoute code still here, I'd be surprised. diff --git a/misc/routeplanner-cli/Makefile b/misc/routeplanner-cli/Makefile new file mode 100644 index 00000000000..a8ca76a6620 --- /dev/null +++ b/misc/routeplanner-cli/Makefile @@ -0,0 +1,45 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/07/28 14:57:00 drochner Exp $ +# + +DISTNAME= routeplanner_0.11 +PKGNAME= routeplanner-cli-0.11 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=routeplanner/} + +MAINTAINER= tech-pkg@netbsd.org +HOMEPAGE= http://routeplanner.sourceforge.net/ +COMMENT= Highway trip planner written in Python + +WRKSRC= ${WRKDIR}/routeplanner-0.11 +USE_BUILDLINK2= yes +NO_BUILD= yes + +PYTHON_PATCH_SCRIPTS= rpcli +RPLIBDIR= ${PREFIX}/lib/routeplanner +RPPY= rpcli.py rpcountry.py rpdbase.py rpunits.py rpcity.py rproute.py +RPDB= Basic-USA.rpl3 NorthAmerica.rpl3 + +RP_LIBDIR_SED= "s|/usr/share/routeplanner|${RPLIBDIR}|g" + +post-patch: + for i in rpcli rpcli.py;do \ + ${MV} ${WRKSRC}/$$i ${WRKSRC}/$$i.tmp && \ + ${SED} ${RP_LIBDIR_SED} <${WRKSRC}/$$i.tmp >${WRKSRC}/$$i; \ + done + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/rpcli ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${RPLIBDIR} + for i in ${RPPY}; do \ + ${INSTALL_DATA} ${WRKSRC}/$$i ${RPLIBDIR}; \ + done + for i in ${RPDB}; do \ + ${GZIP_CMD} -c ${WRKSRC}/$$i >${RPLIBDIR}/$$i.gz; \ + done + +# optional speedup +#.include "../../devel/py-kjbuckets/buildlink2.mk" +#.include "../../devel/py-pqueue/buildlink2.mk" + +.include "../../lang/python/application.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/misc/routeplanner-cli/PLIST b/misc/routeplanner-cli/PLIST new file mode 100644 index 00000000000..b069db2c740 --- /dev/null +++ b/misc/routeplanner-cli/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/28 14:57:00 drochner Exp $ +bin/rpcli +lib/routeplanner/Basic-USA.rpl3.gz +lib/routeplanner/NorthAmerica.rpl3.gz +lib/routeplanner/rpcli.py +lib/routeplanner/rpcountry.py +lib/routeplanner/rpcity.py +lib/routeplanner/rpdbase.py +lib/routeplanner/rproute.py +lib/routeplanner/rpunits.py +@dirrm lib/routeplanner diff --git a/misc/routeplanner-cli/distinfo b/misc/routeplanner-cli/distinfo new file mode 100644 index 00000000000..a55350360fe --- /dev/null +++ b/misc/routeplanner-cli/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/07/28 14:57:00 drochner Exp $ + +SHA1 (routeplanner_0.11.tar.gz) = c8cb905385206b3944963143fc6e00dfb5bd2cfd +Size (routeplanner_0.11.tar.gz) = 345249 bytes |