svn commit: r359717 - head/graphics/grads

Greg Lewis glewis at FreeBSD.org
Sat Jun 28 20:49:00 UTC 2014


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 at 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}"


More information about the svn-ports-all mailing list