aboutsummaryrefslogtreecommitdiff
path: root/science/nifticlib/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-01-29 21:44:59 +0000
committerThierry Thomas <thierry@FreeBSD.org>2014-01-29 21:44:59 +0000
commit3daa195fdae920b800e1c4f5f866593fc70096ca (patch)
treee7a8e054bc9f8832c48590d7cb34f18138aad011 /science/nifticlib/Makefile
parentf7dadc099335b3d90f7858af8d2ba7520fd1675c (diff)
downloadports-3daa195fdae920b800e1c4f5f866593fc70096ca.tar.gz
ports-3daa195fdae920b800e1c4f5f866593fc70096ca.zip
Notes
Diffstat (limited to 'science/nifticlib/Makefile')
-rw-r--r--science/nifticlib/Makefile27
1 files changed, 13 insertions, 14 deletions
diff --git a/science/nifticlib/Makefile b/science/nifticlib/Makefile
index 02ebc5acbff7..bbc3af24b6f7 100644
--- a/science/nifticlib/Makefile
+++ b/science/nifticlib/Makefile
@@ -1,28 +1,27 @@
-# Created by: Jason Bacon <bacon@smithers.neuro.mcw.edu>
+# Created by: Jason W. Bacon <jwbacon@tds.net>
# $FreeBSD$
PORTNAME= nifticlib
-PORTVERSION= 1.1.0
+PORTVERSION= 2.0.0
CATEGORIES= science graphics
-MASTER_SITES= SF/niftilib/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= SF/niftilib/nifticlib/nifticlib_2_0_0
MAINTAINER= jwbacon@tds.net
COMMENT= Neuroimaging Informatics Technology Initiative data format
-USES= gmake
+# LICENSE= public domain
-MAN1= nifticlib.1
+USES= gmake
+MAKE_JOBS_UNSAFE=yes
-NO_STAGE= yes
-post-patch:
- @${REINPLACE_CMD} -e 's/include depend.mk/-&/' \
- ${WRKSRC}/fsliolib/Makefile ${WRKSRC}/nifticdf/Makefile \
- ${WRKSRC}/niftilib/Makefile ${WRKSRC}/znzlib/Makefile
+# AFNI currently has nifti embedded in the distfile and installs the
+# nifti bins by itself.
+CONFLICTS= afni-[0-9]* dbh-[0-9]*
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include
- ${INSTALL_MAN} ${FILESDIR}/nifticlib.1 ${MANPREFIX}/man/man1
+ ${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}${PREFIX}/man/man1
.include <bsd.port.mk>