ports/science/minc2/Makefile
Sunpoet Po-Chuan Hsieh 9a1f45d861 - Update to 1.10.0
- Add LICENSE_FILE
- Remove outdated PORTSCOUT
- Re-enable SZIP option by default: it was changed unintentionally in r398300

Changes:	https://www.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.0/src/hdf5-1.10.0-RELEASE.txt
		https://www.hdfgroup.org/HDF5/doc/ADGuide/Changes.html
2016-04-20 20:42:39 +00:00

45 lines
923 B
Makefile

# Created by: jbacon
# $FreeBSD$
PORTNAME= minc
PORTVERSION= 2.2.00
DISTVERSIONPREFIX= release-
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= science biology
PKGNAMESUFFIX= 2
MAINTAINER= ports@FreeBSD.org
COMMENT= Medical Imaging NetCDF
LICENSE= MIT
LIB_DEPENDS= libhdf5.so:science/hdf5 \
libnetcdf.so:science/netcdf
RUN_DEPENDS= bash:shells/bash
USE_GITHUB= yes
GH_ACCOUNT= BIC-MNI
MAKE_JOBS_UNSAFE= yes
USES= autoreconf bison gmake libtool perl5 shebangfix
SHEBANG_FILES= progs/mincview/mincview
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared=yes --enable-static=yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
CFLAGS+= -Wno-error=return-type
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFLICTS= minc-1* zh-tk-[0-9]*
pre-patch:
@${RM} -f ${WRKSRC}/ac_config_aux/*
@${RM} -f ${WRKSRC}/progs/minccalc/gram.[ch]
@${RM} -f ${WRKSRC}/progs/mincgen/ncgentab.[ch]
.include <bsd.port.mk>