Index: head/graphics/gmt/Makefile =================================================================== --- head/graphics/gmt/Makefile (revision 448282) +++ head/graphics/gmt/Makefile (revision 448283) @@ -1,110 +1,108 @@ # Created by: sec@42.org # $FreeBSD$ PORTNAME= gmt PORTVERSION= 4.5.15 DISTVERSIONSUFFIX= -src CATEGORIES= graphics MASTER_SITES= ftp://ftp.soest.hawaii.edu/%SUBDIR%/ \ ftp://ftp.geologi.uio.no/pub/%SUBDIR%/ \ ftp://ftp.iag.usp.br/%SUBDIR%/ \ ftp://ftp.scc.u-tokai.ac.jp/pub/%SUBDIR%/ \ http://gd.tuwien.ac.at/graphics/visual/%SUBDIR%/ \ http://gmt.mirror.ac.za/%SUBDIR%/ \ ftp://ftp.soest.hawaii.edu/gshhg/:gshhg \ ftp://ftp.scc.u-tokai.ac.jp/pub/gmt/:gshhg MASTER_SITE_SUBDIR= ${PORTNAME} ${PORTNAME}/legacy DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${GSHHG_DISTNAME}.tar.gz:gshhg MAINTAINER= ports@FreeBSD.org COMMENT= Generic Mapping Tools - data processing and display software package LICENSE= GPLv2 LGPL3 LICENSE_COMB= multi LICENSE_DISTFILES_GPLv2= ${DISTNAME}${EXTRACT_SUFX} LICENSE_DISTFILES_LGPL3= ${GSHHG_DISTNAME}${EXTRACT_SUFX} -BROKEN= fails to build - LIB_DEPENDS= libnetcdf.so:science/netcdf RUN_DEPENDS= bash:shells/bash WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= autoreconf:build gmake pkgconfig shebangfix tar:bzip2 SHEBANG_FILES= gmtswitch doc/examples/*/*.sh src/GMT.in \ src/gmt_shell_functions.sh.in src/gmtget.in \ src/gmtlogo.in src/isogmt.in GNU_CONFIGURE= yes CONFIGURE_ARGS= --datadir=${DATADIR} \ --with-gshhg-dir=${DATADIR}/coast INSTALL_TARGET= install-gmt install-data install-man install-doc MAKE_JOBS_UNSAFE= yes PORTDOCS= * PORTSCOUT= limitw:0,even OPTIONS_DEFINE= DEBUG DOCS EPS GDAL IMPERIAL OCTAVE SHARED X11 OPTIONS_DEFAULT= GDAL SHARED X11 OPTIONS_SUB= yes DEBUG_CONFIGURE_ON= --enable-debug --enable-devdebug EPS_DESC= Set .eps as default output format, otherwise .ps EPS_CONFIGURE_ON= --enable-eps GDAL_DESC= Compile in experimental GDAL support GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDAL_CONFIGURE_ON= --enable-gdal IMPERIAL_DESC= Choose Imperial (inch) units over metric (cm) IMPERIAL_CONFIGURE_ON= --enable-US OCTAVE_DESC= Build GMT-octave interface OCTAVE_RUN_DEPENDS= octave:math/octave OCTAVE_CONFIGURE_ON= --enable-octave --enable-mex OCTAVE_CONFIGURE_OFF= --disable-mex SHARED_DESC= Build shared (dynamic) libraries SHARED_CONFIGURE_ON= --enable-shared SHARED_USE= LDCONFIG=yes X11_USE= XORG=x11,xaw,xmu,xt X11_CONFIGURE_OFF= --disable-xgrid STRIP_BINS= blockmean blockmedian blockmode filter1d fitcircle \ gmt2rgb gmtconvert gmtdefaults gmtmath gmtselect \ gmtset grd2cpt grd2xyz grdblend grdclip \ grdcontour grdcut grdedit grdfft grdfilter \ grdgradient grdhisteq grdimage grdinfo grdlandmask \ grdmask grdmath grdpaste grdproject grdreformat \ grdsample grdtrack grdtrend grdvector grdview \ grdvolume greenspline makecpt mapproject minmax \ nearneighbor project ps2raster psbasemap psclip \ pscoast pscontour pshistogram psimage pslegend \ psmask psrose psscale pstext pswiggle \ psxy psxyz sample1d spectrum1d splitxyz \ surface trend1d trend2d triangulate xyz2grd STRIP_LIBS= libgmt.so.4 libgmtps.so.4 libpsl.so.4 # http://www.soest.hawaii.edu/pwessel/gshhg/ GSHHG_DISTNAME= gshhg-gmt-2.3.4 pre-configure: @(cd ${CONFIGURE_WRKSRC} && ${SETENV} AUTOHEADER="${TRUE}" \ ${AUTORECONF} -f -i) post-install: @${MKDIR} ${STAGEDIR}${DATADIR}/coast (cd ${WRKDIR}/${GSHHG_DISTNAME} && ${INSTALL_DATA} README.TXT *.nc \ ${STAGEDIR}${DATADIR}/coast) .for i in ${STRIP_BINS} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i} .endfor post-install-X11-on: (cd ${WRKSRC}/src/xgrid && ${INSTALL_PROGRAM} xgridedit \ ${STAGEDIR}${PREFIX}/bin) post-install-SHARED-on: .for i in ${STRIP_LIBS} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${i} .endfor .include Index: head/graphics/gmt/files/patch-src-gmt_io.c =================================================================== --- head/graphics/gmt/files/patch-src-gmt_io.c (nonexistent) +++ head/graphics/gmt/files/patch-src-gmt_io.c (revision 448283) @@ -0,0 +1,14 @@ +--- src/gmt_io.c.orig 2016-03-07 01:35:42 UTC ++++ src/gmt_io.c +@@ -80,11 +80,7 @@ + */ + + /* Circumvent Solaris problem. See bug #817 */ +-#ifdef __FreeBSD__ +-#define _XOPEN_SOURCE +-#else + #define _XOPEN_SOURCE 600 +-#endif + + #define GMT_WITH_NO_PS + #include "gmt.h" Property changes on: head/graphics/gmt/files/patch-src-gmt_io.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/gmt/files/patch-src-gmtmath.c =================================================================== --- head/graphics/gmt/files/patch-src-gmtmath.c (nonexistent) +++ head/graphics/gmt/files/patch-src-gmtmath.c (revision 448283) @@ -0,0 +1,14 @@ +--- src/gmtmath.c.orig 2016-03-07 01:35:42 UTC ++++ src/gmtmath.c +@@ -61,11 +61,7 @@ + */ + + /* Circumvent Solaris problem. See bug #817 */ +-#ifdef __FreeBSD__ +-#define _XOPEN_SOURCE +-#else + #define _XOPEN_SOURCE 600 +-#endif + + #include "gmt.h" + Property changes on: head/graphics/gmt/files/patch-src-gmtmath.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/gmt/files/patch-src-grdmath.c =================================================================== --- head/graphics/gmt/files/patch-src-grdmath.c (nonexistent) +++ head/graphics/gmt/files/patch-src-grdmath.c (revision 448283) @@ -0,0 +1,14 @@ +--- src/grdmath.c.orig 2016-03-07 01:35:42 UTC ++++ src/grdmath.c +@@ -51,11 +51,7 @@ + */ + + /* Circumvent Solaris problem. See bug #817 */ +-#ifdef __FreeBSD__ +-#define _XOPEN_SOURCE +-#else + #define _XOPEN_SOURCE 600 +-#endif + + #include "gmt.h" + Property changes on: head/graphics/gmt/files/patch-src-grdmath.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/gmt/files/patch-src-misc-gmtdigitize.c =================================================================== --- head/graphics/gmt/files/patch-src-misc-gmtdigitize.c (nonexistent) +++ head/graphics/gmt/files/patch-src-misc-gmtdigitize.c (revision 448283) @@ -0,0 +1,14 @@ +--- src/misc/gmtdigitize.c.orig 2016-03-07 01:35:42 UTC ++++ src/misc/gmtdigitize.c +@@ -38,11 +38,7 @@ + */ + + /* Circumvent Solaris problem. See bug #817 */ +-#ifdef __FreeBSD__ +-#define _XOPEN_SOURCE +-#else + #define _XOPEN_SOURCE 600 +-#endif + + #ifdef HAVE_UNISTD_H + #include Property changes on: head/graphics/gmt/files/patch-src-misc-gmtdigitize.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property