2019-07-12 16:46:54 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2019/07/12 20:46:59 sthen Exp $
|
2005-11-01 19:02:50 -05:00
|
|
|
|
2008-10-30 12:48:37 -04:00
|
|
|
COMMENT-main= draw maps and charts
|
|
|
|
COMMENT-high= high resolution coastline data for GMT
|
|
|
|
COMMENT-full= full resolution coastline data for GMT
|
2005-11-01 19:02:50 -05:00
|
|
|
|
2006-06-01 00:04:45 -04:00
|
|
|
V= 4.1.3
|
2008-10-30 12:48:37 -04:00
|
|
|
DISTNAME= GMT$V
|
2010-11-09 13:22:26 -05:00
|
|
|
PKGNAME-main= gmt-$V
|
2017-05-09 22:20:22 -04:00
|
|
|
REVISION-main = 5
|
2008-10-30 12:48:37 -04:00
|
|
|
PKGNAME-high= gmt-high-$V
|
2013-01-13 15:03:59 -05:00
|
|
|
REVISION-high = 1
|
2008-10-30 12:48:37 -04:00
|
|
|
PKGNAME-full= gmt-full-$V
|
2013-01-13 15:03:59 -05:00
|
|
|
REVISION-full = 1
|
2006-11-02 02:03:29 -05:00
|
|
|
CATEGORIES= graphics geo
|
2005-11-01 19:02:50 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://gmt.soest.hawaii.edu/
|
|
|
|
|
|
|
|
# GPL
|
2019-07-12 16:46:54 -04:00
|
|
|
PERMIT_PACKAGE= Yes
|
2005-11-01 19:02:50 -05:00
|
|
|
|
2013-01-13 15:03:59 -05:00
|
|
|
MASTER_SITES= ftp://ftp.iris.washington.edu/pub/gmt/4/
|
2005-11-01 19:02:50 -05:00
|
|
|
|
2008-10-30 12:48:37 -04:00
|
|
|
DISTFILES= GMT$V_src.tar.bz2 \
|
|
|
|
GMT$V_man.tar.bz2 \
|
|
|
|
GMT$V_share.tar.bz2 \
|
|
|
|
GMT4.1_coast.tar.bz2 \
|
|
|
|
GMT4.1_high.tar.bz2 \
|
2006-06-01 00:04:45 -04:00
|
|
|
GMT4.1_full.tar.bz2
|
2005-11-01 19:02:50 -05:00
|
|
|
|
2006-06-01 00:04:45 -04:00
|
|
|
EXTRACT_CASES= GMT4.1_*.tar.bz2) bzip2 -dc ${FULLDISTDIR}/$$archive | \
|
2006-04-10 16:43:01 -04:00
|
|
|
tar xf - -C ${WRKDIST};;
|
2005-11-01 19:02:50 -05:00
|
|
|
|
2008-10-30 12:48:37 -04:00
|
|
|
MULTI_PACKAGES= -main -high -full
|
|
|
|
|
2010-11-17 03:05:12 -05:00
|
|
|
LIB_DEPENDS-main= math/netcdf
|
|
|
|
WANTLIB-main= c m netcdf>=1
|
2008-10-30 12:48:37 -04:00
|
|
|
|
2010-11-17 03:05:12 -05:00
|
|
|
RUN_DEPENDS-high= gmt-$V:graphics/gmt
|
|
|
|
RUN_DEPENDS-full= gmt-$V:graphics/gmt
|
2008-10-30 12:48:37 -04:00
|
|
|
|
2006-04-10 16:43:01 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2005-11-01 19:02:50 -05:00
|
|
|
|
2006-04-10 16:43:01 -04:00
|
|
|
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/gmt/share \
|
|
|
|
--enable-mansect=1 \
|
|
|
|
--enable-netcdf=${LOCALBASE}
|
2005-11-01 19:02:50 -05:00
|
|
|
|
2013-03-11 07:10:51 -04:00
|
|
|
NO_TEST= Yes
|
2005-11-01 19:02:50 -05:00
|
|
|
|
2006-04-10 16:43:01 -04:00
|
|
|
ALL_TARGET= gmt
|
|
|
|
INSTALL_TARGET= install install-data install-man
|
2005-11-01 19:02:50 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|