diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-08-25 16:08:57 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-08-25 16:08:57 +0000 |
commit | d4d22f8a15ed0005609eb68cd143d02e5b80c0c1 (patch) | |
tree | 1cd2073b94c30e22598a2952396ffdc21684af14 /astro/tclgeomap | |
parent | Fix plist. (diff) |
Add ports astro/tclgeomap and astro/tkgeomap:
Tkgeomap is an open source set of extensions to the Tcl/Tk scripting
language. It adds commands that read, manipulate, and display geographic
data.
It provides four packages:
* tclgeomap - library written in C adds commands for basic geography
calculations and data access.
* tclgeomap_procs - library written in Tcl adds procedures that
supplement tclgeomap.
* tkgeomap - library written in C that adds the ability to draw maps
* tkgeomap_procs - library written in Tcl adds procedures that
supplement tkgeomap.
WWW: http://www.tkgeomap.org/
Diffstat (limited to 'astro/tclgeomap')
-rw-r--r-- | astro/tclgeomap/Makefile | 191 | ||||
-rw-r--r-- | astro/tclgeomap/distinfo | 3 | ||||
-rw-r--r-- | astro/tclgeomap/pkg-descr | 16 | ||||
-rw-r--r-- | astro/tclgeomap/pkg-plist | 12 |
4 files changed, 222 insertions, 0 deletions
diff --git a/astro/tclgeomap/Makefile b/astro/tclgeomap/Makefile new file mode 100644 index 000000000000..7bfdd748ec36 --- /dev/null +++ b/astro/tclgeomap/Makefile @@ -0,0 +1,191 @@ +# New ports collection makefile for: tclgeomap +# Date created: 25 August 2006 +# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= tclgeomap +PORTVERSION= 2.9 +CATEGORIES= astro tcl84 +MASTER_SITES= SF +MASTER_SITE_SUBDIR= tkgeomap + +MAINTAINER= infofarmer@FreeBSD.org +COMMENT= Read, manipulate and display geo data + +USE_TCL= yes +GNU_CONFIGURE= yes +WRKSRC= ${WRKDIR}/${DISTNAME}/unix +PLIST_SUB= INC=include/${PORTNAME} \ + LIB=lib/${PORTNAME} +MAKE_ENV= MKLINKS_FLAGS=-s +USE_LDCONFIG= yes + +MAN3= geoLn.3 geoLnArr.3 geoLnArrToMap.3 geoProj.3 geography.3 mapLn.3 mapLnArr.3 tclgeomap.3 +MANN= tclgeomap.n tclgeomap_procs.n +MLINKS= \ + geoLn.3 GeoLn.3 \ + geoLn.3 GeoLnAddPt.3 \ + geoLn.3 GeoLnClear.3 \ + geoLn.3 GeoLnContainGeoPt.3 \ + geoLn.3 GeoLnCreate.3 \ + geoLn.3 GeoLnCtr.3 \ + geoLn.3 GeoLnDestroy.3 \ + geoLn.3 GeoLnGetPt.3 \ + geoLn.3 GeoLnInfo.3 \ + geoLn.3 GeoLnSetAlloc.3 \ + geoLnArr.3 GeoLnArr.3 \ + geoLnArr.3 GeoLnArrAddLine.3 \ + geoLnArr.3 GeoLnArrContainGeoPt.3 \ + geoLnArr.3 GeoLnArrCreate.3 \ + geoLnArr.3 GeoLnArrDestroy,.3 \ + geoLnArr.3 GeoLnArrFree.3 \ + geoLnArr.3 GeoLnArrGetDescr.3 \ + geoLnArr.3 GeoLnArrGetInfo.3 \ + geoLnArr.3 GeoLnArrGetLine.3 \ + geoLnArr.3 GeoLnArrPutLine.3 \ + geoLnArr.3 GeoLnArrSetAlloc.3 \ + geoLnArr.3 GeoLnArrSetDescr.3 \ + geoProj.3 GeoProj.3 \ + geoProj.3 GeoProjAlloc.3 \ + geoProj.3 GeoProjDescriptor.3 \ + geoProj.3 GeoProjDestroy.3 \ + geoProj.3 GeoProjFree.3 \ + geoProj.3 GeoProjGetInfo.3 \ + geoProj.3 GeoProjGetType.3 \ + geoProj.3 GeoProjInit.3 \ + geoProj.3 LatLonToProj.3 \ + geoProj.3 ProjToLatLon.3 \ + geoProj.3 SetCylEqArea.3 \ + geoProj.3 SetCylEqDist.3 \ + geoProj.3 SetLambertConfConic.3 \ + geoProj.3 SetLambertEqArea.3 \ + geoProj.3 SetMercator.3 \ + geoProj.3 SetOrthographic.3 \ + geoProj.3 SetStereographic.3 \ + geography.3 AngleCmp.3 \ + geography.3 AngleFmDeg.3 \ + geography.3 AngleFmRad.3 \ + geography.3 AngleIsBad.3 \ + geography.3 AngleIsOK.3 \ + geography.3 AngleToDeg.3 \ + geography.3 AngleToRad.3 \ + geography.3 Azimuth.3 \ + geography.3 BadAngle.3 \ + geography.3 DeleteRotation.3 \ + geography.3 DomainLat.3 \ + geography.3 DomainLon.3 \ + geography.3 DomainLonPt.3 \ + geography.3 GCircleX.3 \ + geography.3 GeoDistance.3 \ + geography.3 GeoPtGetDeg.3 \ + geography.3 GeoPtGetRad.3 \ + geography.3 GeoPtIsNowhere.3 \ + geography.3 GeoPtIsSomewhere.3 \ + geography.3 GeoPtNowhere.3 \ + geography.3 GeoPtSetDeg.3 \ + geography.3 GeoPtSetRad.3 \ + geography.3 GeoQuickDistance.3 \ + geography.3 GeoStep.3 \ + geography.3 GetRotation.3 \ + geography.3 GwchLon.3 \ + geography.3 GwchLonPt.3 \ + geography.3 ICos.3 \ + geography.3 ISin.3 \ + geography.3 LatCmp.3 \ + geography.3 LonBtwn.3 \ + geography.3 LonBtwn1.3 \ + geography.3 LonCmp.3 \ + geography.3 MapPtIsNowhere.3 \ + geography.3 MapPtIsSomewhere.3 \ + geography.3 MapPtNowhere.3 \ + geography.3 NewRotation.3 \ + geography.3 REarth.3 \ + geography.3 Rotate.3 \ + geography.3 Rotation.3 \ + geography.3 ScaleMapPt.3 \ + geography.3 SetREarth.3 \ + geography.3 SetRotation.3 \ + mapLn.3 MapLn.3 \ + mapLn.3 MapLnAddPt.3 \ + mapLn.3 MapLnClear.3 \ + mapLn.3 MapLnCreate.3 \ + mapLn.3 MapLnDestroy.3 \ + mapLn.3 MapLnGetInfo.3 \ + mapLn.3 MapLnGetPt.3 \ + mapLn.3 MapLnSetAlloc.3 \ + mapLnArr.3 MapLnArr.3 \ + mapLnArr.3 MapLnArrAddLine.3 \ + mapLnArr.3 MapLnArrCreate.3 \ + mapLnArr.3 MapLnArrDestroy.3 \ + mapLnArr.3 MapLnArrGetDescr.3 \ + mapLnArr.3 MapLnArrGetInfo.3 \ + mapLnArr.3 MapLnArrGetLine.3 \ + mapLnArr.3 MapLnArrSet.3 \ + mapLnArr.3 MapLnArrSetAlloc.3 \ + mapLnArr.3 MapLnArrSetDescr.3 \ + tclgeomap.3 Tclgeomap_AddLnArr.3 \ + tclgeomap.3 Tclgeomap_AddLnArrDeleteTask.3 \ + tclgeomap.3 Tclgeomap_AddPlaceDeleteTask.3 \ + tclgeomap.3 Tclgeomap_AddPlaceUpdateTask.3 \ + tclgeomap.3 Tclgeomap_AddProjDeleteTask.3 \ + tclgeomap.3 Tclgeomap_AddProjUpdateTask.3 \ + tclgeomap.3 Tclgeomap_CnxLnArrDeleteTask.3 \ + tclgeomap.3 Tclgeomap_CnxPlaceDeleteTask.3 \ + tclgeomap.3 Tclgeomap_CnxPlaceUpdateTask.3 \ + tclgeomap.3 Tclgeomap_CnxProjDeleteTask.3 \ + tclgeomap.3 Tclgeomap_CnxProjUpdateTask.3 \ + tclgeomap.3 Tclgeomap_GetGeoPtFromObj.3 \ + tclgeomap.3 Tclgeomap_GetLnArr.3 \ + tclgeomap.3 Tclgeomap_GetMapPtFromObj.3 \ + tclgeomap.3 Tclgeomap_GetPlace.3 \ + tclgeomap.3 Tclgeomap_GetProj.3 \ + tclgeomap.3 Tclgeomap_Init.3 \ + tclgeomap.3 Tclgeomap_LnArrName.3 \ + tclgeomap.3 Tclgeomap_NewGeoPtObj.3 \ + tclgeomap.3 Tclgeomap_NewMapPtObj.3 \ + tclgeomap.3 Tclgeomap_PlaceLoc.3 \ + tclgeomap.3 Tclgeomap_PlaceName.3 \ + tclgeomap.3 Tclgeomap_ProjName.3 \ + tclgeomap.3 Tclgeomap_SetGeoPtObj.3 \ + tclgeomap.3 Tclgeomap_SetMapPtObj.3 \ + tclgeomap.n cartg.n \ + tclgeomap.n dectodm.n \ + tclgeomap.n dectodms.n \ + tclgeomap.n dmstodec.n \ + tclgeomap.n domnlat.n \ + tclgeomap.n domnlon.n \ + tclgeomap.n domnlonpt.n \ + tclgeomap.n gclcross.n \ + tclgeomap.n georadius.n \ + tclgeomap.n gwchlon.n \ + tclgeomap.n gwchpt.n \ + tclgeomap.n latlonok.n \ + tclgeomap.n lnarr.n \ + tclgeomap.n lonbtwn.n \ + tclgeomap.n mapptok.n \ + tclgeomap.n place.n \ + tclgeomap.n projection.n \ + tclgeomap.n rotatpt.n \ + tclgeomap.n scalept.n \ + tclgeomap_procs.n circle.n \ + tclgeomap_procs.n fillsegment.n \ + tclgeomap_procs.n grid_list.n \ + tclgeomap_procs.n latitude.n \ + tclgeomap_procs.n latlon.n \ + tclgeomap_procs.n longitude.n \ + tclgeomap_procs.n ocean_list.n + +post-install: + @${LN} -sf ${PREFIX}/lib/libtclgeomap2.9.so ${PREFIX}/lib/libtclgeomap2.9.so.0 + +post-patch: + @${REINPLACE_CMD} -e 's/@PACKAGE@@VERSION@/@PACKAGE@/g' ${WRKSRC}/Makefile.in ${WRKSRC}/pkgIndex.tcl.in + +# Maintainer section +MY_MLINKS: + @cd ${MAN3PREFIX}/man/man3/ && ls -l `${FIND} . -type l` | ${GREP} -E '(geo|mapLn)' | ${SED} -Ee 's#^.*\./(.*) -> (.*)$$#\2 \1 \\#' | ${SORT} -u + @cd ${MANNPREFIX}/man/mann/ && ls -l `${FIND} . -type l` | ${GREP} -E '(geo|mapLn)' | ${SED} -Ee 's#^.*\./(.*) -> (.*)$$#\2 \1 \\#' | ${SORT} -u + +.include <bsd.port.mk> diff --git a/astro/tclgeomap/distinfo b/astro/tclgeomap/distinfo new file mode 100644 index 000000000000..cb40fae3180d --- /dev/null +++ b/astro/tclgeomap/distinfo @@ -0,0 +1,3 @@ +MD5 (tclgeomap-2.9.tar.gz) = 59045354bb89dd80210e73e63433a281 +SHA256 (tclgeomap-2.9.tar.gz) = ecd80a887f79e33a9a6b406f0bef12d4dc1773ff4819ce041d2203e07ea3d1d2 +SIZE (tclgeomap-2.9.tar.gz) = 173753 diff --git a/astro/tclgeomap/pkg-descr b/astro/tclgeomap/pkg-descr new file mode 100644 index 000000000000..c09bd46f50f8 --- /dev/null +++ b/astro/tclgeomap/pkg-descr @@ -0,0 +1,16 @@ +Tkgeomap is an open source set of extensions to the Tcl/Tk scripting +language. It adds commands that read, manipulate, and display geographic +data. + +It provides four packages: +* tclgeomap - library written in C adds commands for basic geography + calculations and data access. +* tclgeomap_procs - library written in Tcl adds procedures that + supplement tclgeomap. +* tkgeomap - library written in C that adds the ability to draw maps +* tkgeomap_procs - library written in Tcl adds procedures that + supplement tkgeomap. + +This port contains the Tcl part. + +WWW: http://www.tkgeomap.org/ diff --git a/astro/tclgeomap/pkg-plist b/astro/tclgeomap/pkg-plist new file mode 100644 index 000000000000..ac8d6d584eea --- /dev/null +++ b/astro/tclgeomap/pkg-plist @@ -0,0 +1,12 @@ +lib/libtclgeomap2.9.so +lib/libtclgeomap2.9.so.0 +%%INC%%/geoLines.h +%%INC%%/geoLnArrToMap.h +%%INC%%/geoProj.h +%%INC%%/geography.h +%%INC%%/mapLines.h +%%INC%%/tclgeomap.h +%%LIB%%/pkgIndex.tcl +%%LIB%%/tclgeomap_procs.tcl +@dirrm %%INC%% +@dirrm %%LIB%% |