403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/science/hdf/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/science/hdf/Makefile
PORTNAME=	hdf
PORTVERSION=	4.2.15
PORTREVISION=	1
PORTEPOCH=	1
CATEGORIES=	science archivers graphics
MASTER_SITES=	http://www.hdfgroup.org/ftp/HDF/releases/HDF${PORTVERSION}/src/ \
		ftp://ftp.hdfgroup.org/HDF/releases/HDF${PORTVERSION}/src/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Hierarchical Data Format library (from NCSA)
WWW=		https://www.hdfgroup.org/products/hdf4/

NOT_FOR_ARCHS=		aarch64 armv6 armv7
NOT_FOR_ARCHS_REASON=	fails to compile: no machine type has been defined

LIB_DEPENDS=	libsz.so:science/libaec

CONFLICTS_INSTALL=	netcdf-4.[0-9]*

USES=		fortran jpeg libtool
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-shared --with-jpeg=${LOCALBASE} \
		--with-szlib=${LOCALBASE}
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip
TEST_TARGET=	check

PORTDATA=	*
PORTEXAMPLES=	*

OPTIONS_DEFINE=	EXAMPLES

.include <bsd.port.pre.mk>

.if ${GCC_DEFAULT} >= 10
# workaround for Type mismatch between actual argument at (1) and actual argument at (2) (CHARACTER(0)/INTEGER(4)).
# in theory, this should set FCFLAGS, but the port does not conform
FFLAGS+=	-fallow-argument-mismatch
.endif

post-patch:
	@${REINPLACE_CMD} -e '/PROD_/ s|=.*|=""|' ${WRKSRC}/config/freebsd
	@${REINPLACE_CMD} -e 's/ || (__APPLE__.*//' \
		${WRKSRC}/hdf/test/fortest.c

post-install:
	${INSTALL_MAN} ${WRKSRC}/man/hdfunpac.1 \
		${STAGEDIR}${MAN1PREFIX}/man/man1
	# Allow to build on PowerPC
	@${REINPLACE_CMD} -e '/if defined (__APPLE__)/ \
		s,),) || defined(__powerpc__),' ${WRKSRC}/hdf/src/hdfi.h
	${INSTALL_MAN} ${WRKSRC}/man/gr_chunk.3 \
		${STAGEDIR}${MAN3PREFIX}/man/man3

.include <bsd.port.post.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit