1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/astro/ptiger/Makefile
Andrew Pantyukhin aa14615b34 Add port astro/ptiger:
ptiger is a Tcl/Tk/Tkgeomap script that uses wdgeomap to display U.S.
Census Burea populated places on an interactive geographic map.

To run it, type ptiger on the command line. After a few seconds, a map
should appear. Adjust the view by Dragging or Double-Clicking. As the
cursor moves, a label below the map displays the cursor location and
the azimuth and range from the + marker to the cursor. Move the + marker
by Right-Double-Clicking. The map has dots at places with population
greater than a user selected threshold. Moving the cursor over a dot
labels the place with its name and displays the population in another
label below the map. In addition to the wdgeomap menus, a Places menu
enables adjustment of the population threshold and dot size. There is
also a Find menu that does a case insensitive regular expression search
for a named place.

WWW: http://www.tkgeomap.org/ptiger.html
Author: Gordon Carrie <tkgeomap@users.sourceforge.net>
2006-08-26 15:05:31 +00:00

32 lines
795 B
Makefile

# New ports collection makefile for: ptiger
# Date created: 26 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ptiger
PORTVERSION= 2.2
CATEGORIES= astro tk84
MASTER_SITES= SF
MASTER_SITE_SUBDIR= tkgeomap
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Displays U.S. Census Burea populated places on a map
LIB_DEPENDS= tkgeomap2.9.0:${PORTSDIR}/astro/tkgeomap
USE_XLIB= yes
USE_TK= yes
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 ${PREFIX}/bin/${PORTNAME}
@${INSTALL} -d ${DATADIR}
@${CP} -Rf ${WRKSRC}/lines ${WRKSRC}/places ${WRKSRC}/src ${DATADIR}/
.include <bsd.port.mk>