aboutsummaryrefslogtreecommitdiff
path: root/math/asir2000
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-28 13:39:56 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-28 13:39:56 +0000
commite638299edcfecb35838ad7fad0b71c4fa5ed7639 (patch)
tree30df43bd9eff2c4d3d713edce11d9d1da280e753 /math/asir2000
parent3c87974395c0f207b0768da251c721e0125b48b7 (diff)
downloadports-e638299edcfecb35838ad7fad0b71c4fa5ed7639.tar.gz
ports-e638299edcfecb35838ad7fad0b71c4fa5ed7639.zip
- Switch to options helpers
- While here, add some NO_ARCHes and couple missing PORT_OPTIONS=DOCS Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=395483
Diffstat (limited to 'math/asir2000')
-rw-r--r--math/asir2000/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/math/asir2000/Makefile b/math/asir2000/Makefile
index 10e3c2fa4157..66ca14f7972b 100644
--- a/math/asir2000/Makefile
+++ b/math/asir2000/Makefile
@@ -42,11 +42,9 @@ OPTIONS_DEFINE= DOCS
PORTDOCS= *
PORTDATA= *
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
-BROKEN= Does not compile on ia64, powerpc, or sparc64
-.endif
+BROKEN_ia64= does not compile
+BROKEN_powerpc= does not compile
+BROKEN_sparc64= does not compile
post-extract:
@( cd ${WRKSRC}; ${TAR} xfz ${DISTDIR}/${GC_SRC} )
@@ -71,9 +69,9 @@ post-install:
${LN} -fs ${PREFIX}/bin/asir ${STAGEDIR}${DATADIR}/ox_launch
${LN} -fs ${DATADIR} ${STAGEDIR}${PREFIX}/lib/asir
${INSTALL_MAN} ${WRKDIR}/asirdoc/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKDIR}/asirdoc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>