1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/astro/xeartk/Makefile
Andrew Pantyukhin 79051723a2 Add port astro/xeartk:
xeartk is a tkgeomap application that uses the geomap::wdgeomap command
to create an interactive map. The geographic data is from the xearth
root window program. by Kirk Lauritz Johnson in an interactive widget.
xeartk is not part of and does not require xearth. It only uses the
outline data defined in file mapdata.c of the xearth source
distribution. The cities are from factmonster.

Adjust the map view by Shift-Double-Clicking or Shift-Dragging. Double
click a dot to display information about the city there on the terminal.

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

35 lines
856 B
Makefile

# New ports collection makefile for: xeartk
# Date created: 26 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xeartk
PORTVERSION= 2.2
CATEGORIES= astro tk84
MASTER_SITES= SF
MASTER_SITE_SUBDIR= tkgeomap
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Small demo for tkgeomap
LIB_DEPENDS= tkgeomap2.9.0:${PORTSDIR}/astro/tkgeomap
USE_XLIB= yes
USE_TK= yes
NO_BUILD= yes
DATA_FILES= README cities land.xdr rivers.xdr water.xdr
PLIST_FILES= bin/${PORTNAME} ${DATA_FILES:S,^,%%DATADIR%%/,}
PLIST_DIRS= %%DATADIR%%
post-patch:
@${REINPLACE_CMD} -e 's,data/,${DATADIR}/,g;s,wish,${WISH},' ${WRKSRC}/src/XEartk.tcl
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/src/XEartk.tcl ${PREFIX}/bin/${PORTNAME}
@${INSTALL} -d ${DATADIR}
@${INSTALL_DATA} ${DATA_FILES:S,^,${WRKSRC}/data/,} ${DATADIR}/
.include <bsd.port.mk>