mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
0e64ad403b
few installed scripts need it. Sponsored by: Absolight
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# Created by: jbacon
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= minc
|
|
PORTVERSION= 2.2.00
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= science biology
|
|
MASTER_SITES= GH
|
|
PKGNAMESUFFIX= 2
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Medical Imaging NetCDF
|
|
|
|
LICENSE= BSD
|
|
|
|
LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5 \
|
|
libnetcdf.so:${PORTSDIR}/science/netcdf
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= BIC-MNI
|
|
GH_TAGNAME= release-${PORTVERSION}
|
|
GH_COMMIT= 6f2f5b9
|
|
|
|
USES= bison gmake libtool perl5 shebangfix
|
|
SHEBANG_FILES= progs/mincview/mincview
|
|
USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf
|
|
ACLOCAL_ARGS= -I m4 --automake-acdir=${ACLOCAL_DIR}
|
|
AUTOMAKE_ARGS= --add-missing --copy --force-missing
|
|
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>
|