Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2014 20:48:59 +0000 (UTC)
From:      Greg Lewis <glewis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359717 - head/graphics/grads
Message-ID:  <201406282048.s5SKmxFc067087@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glewis
Date: Sat Jun 28 20:48:59 2014
New Revision: 359717
URL: http://svnweb.freebsd.org/changeset/ports/359717
QAT: https://qat.redports.org/buildarchive/r359717/

Log:
  . Make NETCDF the default rather than HDF, and hence unbreak.
  . Mark BROKEN only if the HDF option is chosen.
  . Remove NOPORTDATA conditional (since this makes no sense).

Modified:
  head/graphics/grads/Makefile

Modified: head/graphics/grads/Makefile
==============================================================================
--- head/graphics/grads/Makefile	Sat Jun 28 20:36:01 2014	(r359716)
+++ head/graphics/grads/Makefile	Sat Jun 28 20:48:59 2014	(r359717)
@@ -14,8 +14,6 @@ EXTRACT_ONLY=	${PORTNAME}-src-${PORTVERS
 MAINTAINER=	glewis@FreeBSD.org
 COMMENT=	The Grid Analysis and Display System
 
-BROKEN=		Fails to package
-
 BUILD_DEPENDS=	${LOCALBASE}/lib/libudunits2.a:${PORTSDIR}/science/udunits \
 		${LOCALBASE}/lib/libsx.a:${PORTSDIR}/x11/libsx
 LIB_DEPENDS=	libgd.so:${PORTSDIR}/graphics/gd \
@@ -31,13 +29,11 @@ CONFIGURE_ARGS+=	--enable-dyn-supplibs \
 			--with-x
 
 OPTIONS_DEFINE=	HDF NETCDF DOCS EXAMPLES
-OPTIONS_DEFAULT=	HDF
+OPTIONS_DEFAULT=	NETCDF
 HDF_DESC=	Build hdf-support (only hdf OR netcdf is supported)
 NETCDF_DESC=	Build netcdf-support
 
-.if !defined(NOPORTDATA)
 PORTDATA=	*
-.endif
 
 .include <bsd.port.options.mk>
 
@@ -50,6 +46,7 @@ PORTEXAMPLES=	*
 .endif
 
 .if ${PORT_OPTIONS:MHDF}
+BROKEN=			Fails to package
 LIB_DEPENDS+=		libmfhdf.so:${PORTSDIR}/science/hdf
 CONFIGURE_ARGS+=	--with-hdf
 PLIST_SUB+=		NETCDF="@comment " HDF=""
@@ -70,10 +67,8 @@ post-configure:
 	${REINPLACE_CMD} -e "s:ludunits:ludunits2:" ${WRKSRC}/src/Makefile
 
 post-install:
-.if !defined(NOPORTDATA)
 	${MKDIR} "${STAGEDIR}${DATADIR}"
 	cd ${WRKSRC}/data && ${COPYTREE_SHARE} . "${STAGEDIR}${DATADIR}"
-.endif
 .if ${PORT_OPTIONS:MEXAMPLES}
 	${MKDIR} "${STAGEDIR}${EXAMPLESDIR}"
 	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . "${STAGEDIR}${EXAMPLESDIR}"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406282048.s5SKmxFc067087>