2010-11-17 03:05:12 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2010/11/17 08:05:14 espie 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
|
|
|
|
REVISION-main = 2
|
2008-10-30 12:48:37 -04:00
|
|
|
PKGNAME-high= gmt-high-$V
|
|
|
|
PKGNAME-full= gmt-full-$V
|
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/
|
|
|
|
|
|
|
|
MAINTAINER= David Cathcart <cathcart@openbsd.org>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2006-04-10 16:43:01 -04:00
|
|
|
MASTER_SITES= ftp://ftp.soest.hawaii.edu/gmt/4/ \
|
2005-11-01 19:02:50 -05:00
|
|
|
ftp://falcon.grdl.noaa.gov/pub/gmt/4/ \
|
|
|
|
ftp://ftp.iris.washington.edu/pub/gmt/4/ \
|
|
|
|
ftp://ftp.geologi.uio.no/pub/gmt/4/ \
|
2006-04-10 16:43:01 -04:00
|
|
|
ftp://gd.tuwien.ac.at/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
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
USE_GROFF = Yes
|
2005-11-01 19:02:50 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
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>
|