pkgsrc/misc/routeplanner-cli/Makefile
jlam 9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00

48 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2006/03/04 21:30:12 jlam Exp $
#
DISTNAME= routeplanner_0.11
PKGNAME= routeplanner-cli-0.11
PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=routeplanner/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://routeplanner.sourceforge.net/
COMMENT= Highway trip planner written in Python
WRKSRC= ${WRKDIR}/routeplanner-0.11
NO_BUILD= yes
USE_TOOLS+= gzip
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"
INSTALLATION_DIRS= bin
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/buildlink3.mk"
#.include "../../devel/py-pqueue/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"