1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/science/nifticlib/Makefile
Piotr Kubaj 4842639ea0 science/nifticlib: fix build
Add MAKE_JOBS_UNSAFE=yes to fix build:
nifti_stats.c:2:22: error: nifticdf.h: No such file or directory
nifti_stats.c: In function 'main':
nifti_stats.c:30: error: 'inam' undeclared (first use in this function)
nifti_stats.c:30: error: (Each undeclared identifier is reported only once
nifti_stats.c:30: error: for each function it appears in.)

Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D20500
2019-06-08 19:24:18 +00:00

30 lines
738 B
Makefile

# $FreeBSD$
PORTNAME= nifticlib
PORTVERSION= 2.0.0
PORTREVISION= 1
CATEGORIES= science graphics
MASTER_SITES= SF/niftilib/nifticlib/nifticlib_2_0_0
MAINTAINER= jwb@FreeBSD.org
COMMENT= Neuroimaging Informatics Technology Initiative data format
LICENSE= PD
USES= gmake
# AFNI currently has nifti embedded in the distfile and installs the
# nifti bins by itself.
CONFLICTS= afni-[0-9]* dbh-[0-9]*
CFLAGS+= -fPIC
MAKE_JOBS_UNSAFE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/lib/*.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/include
${INSTALL_MAN} ${FILESDIR}/nifticlib.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>