1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/astro/ptiger/Makefile
2014-02-18 15:50:19 +00:00

27 lines
749 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= ptiger
PORTVERSION= 2.2
PORTREVISION= 3
CATEGORIES= astro tk
MASTER_SITES= SF/tkgeomap/${PORTNAME}/${PORTVERSION}
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Displays U.S. Census Bureau populated places on a map
LIB_DEPENDS= libtkgeomap.so:${PORTSDIR}/astro/tkgeomap
USES+= tk:run
NO_BUILD= yes
post-patch:
@${REINPLACE_CMD} -Ee 's,\[pwd\],${DATADIR}/src,;s,(lines/|places/|src/),${DATADIR}/\1,g;s,wish,${WISH},' ${WRKSRC}/src/PTiger.tcl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/PTiger.tcl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${MKDIR} ${STAGEDIR}${DATADIR}
${CP} -Rf ${WRKSRC}/lines ${WRKSRC}/places ${WRKSRC}/src ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>