svn commit: r473521 - head/science/eccodes

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Jun 28 21:26:48 UTC 2018


Author: sunpoet
Date: Thu Jun 28 21:26:47 2018
New Revision: 473521
URL: https://svnweb.freebsd.org/changeset/ports/473521

Log:
  Clean up Makefile

Modified:
  head/science/eccodes/Makefile

Modified: head/science/eccodes/Makefile
==============================================================================
--- head/science/eccodes/Makefile	Thu Jun 28 21:20:24 2018	(r473520)
+++ head/science/eccodes/Makefile	Thu Jun 28 21:26:47 2018	(r473521)
@@ -27,29 +27,16 @@ PORTSCOUT=	site:https://software.ecmwf.int/wiki/displa
 
 CMAKE_ARGS=	-DBUILD_SHARED_LIBS=BOTH
 CMAKE_OFF=	ENABLE_ECCODES_OMP_THREADS ENABLE_FORTRAN ENABLE_MEMFS ENABLE_PYTHON
-CMAKE_ON=	ENABLE_ECCODES_THREADS ENABLE_NETCDF ENABLE_PNG 
+CMAKE_ON=	ENABLE_ECCODES_THREADS ENABLE_NETCDF ENABLE_PNG
 USE_LDCONFIG=	yes
-USES=		cmake:outsource shebangfix #pathfix perl5
-#CONFIGURE_ARGS=	--enable-pthread --with-netcdf=${LOCALBASE} --with-png-support
-#GNU_CONFIGURE=	yes
-#INSTALL_TARGET=	install-strip
-#USES=		autoreconf libtool pathfix perl5
+USES=		cmake:outsource shebangfix
 
 SHEBANG_FILES=	tools/bufr_compare_dir
-SHEBANG_LANG=	ksh
 
 AEC_CMAKE_BOOL=		ENABLE_AEC
 AEC_LIB_DEPENDS=	libaec.so:science/libaec
-#JASPER_CONFIGURE_ON=	--with-jasper=${LOCALBASE}
 JASPER_CMAKE_BOOL=	ENABLE_JPG
 JASPER_LIB_DEPENDS=	libjasper.so:graphics/jasper
-#OPENJPEG_CONFIGURE_ON=	--with-openjpeg=${LOCALBASE}
 OPENJPEG_LIB_DEPENDS=	libopenjp2.so:graphics/openjpeg
-
-x-post-patch:
-	@${REINPLACE_CMD} -e '/default_perl_install/ s|$${prefix}|${LOCALBASE}/bin|; /rpms\//d' ${WRKSRC}/configure.ac
-
-x-post-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/tools/grib1to2 ${STAGEDIR}${PREFIX}/bin/grib1to2
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list