2017-12-24 10:52:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.36 2017/12/24 09:52:51 wiz Exp $
|
2001-01-29 05:32:11 +01:00
|
|
|
|
|
|
|
DISTNAME= igmt_v1.2
|
2001-11-29 02:12:24 +01:00
|
|
|
PKGNAME= iGMT-1.2
|
2013-04-24 12:06:47 +02:00
|
|
|
PKGREVISION= 6
|
2001-01-29 05:32:11 +01:00
|
|
|
CATEGORIES= graphics
|
2017-12-24 10:52:51 +01:00
|
|
|
MASTER_SITES= https://www.gfz-potsdam.de/pb1/op/igmt/
|
2001-01-29 05:32:11 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-12-24 10:52:51 +01:00
|
|
|
HOMEPAGE= https://www.gfz-potsdam.de/pb1/op/igmt/
|
2001-02-16 16:22:13 +01:00
|
|
|
COMMENT= Interactive Mapping of Geoscientific Datasets
|
2001-01-29 05:32:11 +01:00
|
|
|
|
2001-04-26 22:56:38 +02:00
|
|
|
DEPENDS+= GMT>=3.3.6:../../graphics/GMT
|
2005-01-08 20:15:47 +01:00
|
|
|
DEPENDS+= tcl>=8.0:../../lang/tcl
|
|
|
|
DEPENDS+= tk>=8.0:../../x11/tk
|
2001-01-29 05:32:11 +01:00
|
|
|
DEPENDS+= gv-[0-9]*:../../print/gv
|
2002-03-13 18:36:35 +01:00
|
|
|
DEPENDS+= ImageMagick>=5.3.9nb1:../../graphics/ImageMagick
|
2001-01-29 05:32:11 +01:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/igmt_1.2
|
2001-05-19 19:48:27 +02:00
|
|
|
NO_BUILD= yes
|
2001-05-03 23:06:12 +02:00
|
|
|
|
2007-09-02 15:33:44 +02:00
|
|
|
USE_TOOLS+= gs:run ksh:run
|
|
|
|
|
|
|
|
REPLACE_KSH= igmt igmt_helper* img2latlongrd.batch
|
|
|
|
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
2001-01-29 05:32:11 +01:00
|
|
|
|
|
|
|
do-configure:
|
|
|
|
for i in ${WRKSRC}/igmt ${WRKSRC}/igmt_configure.tcl; do \
|
|
|
|
${SED} -e 's:@PREFIX@:'${PREFIX}':g' \
|
2015-11-25 13:50:43 +01:00
|
|
|
-e 's:@GMT_PREFIX@:'${LOCALBASE}':g' \
|
|
|
|
-e 's:@TK_PREFIX@:'${LOCALBASE}':g' \
|
2001-04-26 22:56:38 +02:00
|
|
|
$$i > $$i.tmp && ${MV} -f $$i.tmp $$i; \
|
2001-01-29 05:32:11 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
do-install:
|
2008-03-04 16:39:09 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/igmt ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/igmt
|
2001-04-26 22:56:38 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} manual.ps README.TXT NOTES.TXT \
|
2008-03-04 16:39:09 +01:00
|
|
|
COPYING COPYRIGHT ${DESTDIR}${PREFIX}/share/igmt/
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/igmt/colormaps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/colormaps/* \
|
|
|
|
${DESTDIR}${PREFIX}/share/igmt/colormaps/
|
2001-05-07 14:00:58 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_SCRIPT} igmt*.tcl *.awk \
|
2008-03-04 16:39:09 +01:00
|
|
|
igmt_helper* *.batch ${DESTDIR}${PREFIX}/share/igmt/
|
2001-05-07 14:00:58 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} 01_02-98.cmt \
|
2001-04-26 22:56:38 +02:00
|
|
|
gps.vel hotspots.dat nuvel.yx igmt_def.gif \
|
|
|
|
allslabs_rum.gmt volcanoes.dat wcity.dat \
|
|
|
|
wcity_major.dat igmt_gmtdefaults_3.0 \
|
|
|
|
igmt_gmtdefaults_3.1 igmt_gmtdefaults_3.2 \
|
2008-03-04 16:39:09 +01:00
|
|
|
igmt_gmtdefaults_3.3 ${DESTDIR}${PREFIX}/share/igmt/
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/igmt
|
2001-04-26 22:56:38 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} example*.ps.gz \
|
2008-03-04 16:39:09 +01:00
|
|
|
${WRKSRC}/example*.dat \
|
|
|
|
${DESTDIR}${PREFIX}/share/examples/igmt/
|
2001-01-29 05:32:11 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|