aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-10-02 05:34:36 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-10-02 05:34:36 +0800
commit0242868d67c2ce97d7f57664e9aebe652c993a4a (patch)
treed9ca982b617a02d2a69522d6b40ae000c856d946 /science
parent515604166aec20c5c8288b5a818901e54ae87c4f (diff)
downloadfreebsd-ports-gnome-0242868d67c2ce97d7f57664e9aebe652c993a4a.tar.gz
freebsd-ports-gnome-0242868d67c2ce97d7f57664e9aebe652c993a4a.tar.zst
freebsd-ports-gnome-0242868d67c2ce97d7f57664e9aebe652c993a4a.zip
- Pet portlint
- Switch to options helpers Approved by: portmgr blanket
Diffstat (limited to 'science')
-rw-r--r--science/afni/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/science/afni/Makefile b/science/afni/Makefile
index a4cbb5f663af..8f3764d81248 100644
--- a/science/afni/Makefile
+++ b/science/afni/Makefile
@@ -39,7 +39,7 @@ CONFLICTS= im-[0-9]* \
nifticlib-[0-9]* \
open-usp-tukubai-[0-9]*
-USES= gettext iconv jpeg:run gmake motif perl5 shebangfix
+USES= gettext gmake iconv jpeg:run motif perl5 shebangfix
SHEBANG_FILES= suma_change_spec 3dPAR2AFNI.pl
# Some prereqs use gcc anyway
@@ -47,8 +47,6 @@ USE_GCC= yes
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
BROKEN_sparc64= Does not compile: "undefined reference to '_mcount'"
USE_GL= glw glu
@@ -129,11 +127,12 @@ do-install:
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/TTatlas* ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKDIR}/CA_EZ_v1.5-July3107/* ${STAGEDIR}${DATADIR}
${INSTALL_MAN} ${WRKDIR}/afni.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${PREFIX}/etc/mri
- ${INSTALL_DATA} ${PRESTAGE}/doc/* ${STAGEDIR}${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mri
${INSTALL_SCRIPT} ${WRKDIR}/afni.cshrc ${WRKDIR}/afni.profile \
${STAGEDIR}${PREFIX}/etc/mri
-.endif
+
+do-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PRESTAGE}/doc/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>