aboutsummaryrefslogtreecommitdiff
path: root/math/metis-edf
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:52:39 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:52:39 +0000
commitd9b51276267edffe96f5dfa613e9010e8b20d481 (patch)
tree71cbf3545f3c46063cafedf3043c72b11789854f /math/metis-edf
parent3b13c98a60e823f1bc3e1f443d21e61fcb8dcbcc (diff)
downloadports-d9b51276267edffe96f5dfa613e9010e8b20d481.tar.gz
ports-d9b51276267edffe96f5dfa613e9010e8b20d481.zip
Notes
Diffstat (limited to 'math/metis-edf')
-rw-r--r--math/metis-edf/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/math/metis-edf/Makefile b/math/metis-edf/Makefile
index 04bb84577d2b..150ea29b02f3 100644
--- a/math/metis-edf/Makefile
+++ b/math/metis-edf/Makefile
@@ -20,6 +20,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME:C|-edf||}-${PORTVERSION:R}
DOCS= CHANGES Doc/manual.ps
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../french/aster/bsd.aster.mk"
@@ -27,17 +29,13 @@ MACHINEARCH= ${ARCH}
USE_LDCONFIG= yes
post-install:
-.if !defined(NOPORTDOCS)
${MKDIR} ${STAGEDIR}${DOCSDIR}
. for df in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${df} ${STAGEDIR}${DOCSDIR}
. endfor
-.endif
-.if !defined(NOPORTEXAMPLES)
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/Graphs/* ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_PROGRAM} ${WRKSRC}/Graphs/mtest ${STAGEDIR}${EXAMPLESDIR}
-.endif
regression-test:
(cd ${WRKSRC}/Graphs && LD_LIBRARY_PATH=${WRKSRC} ./mtest 4elt.graph || ${TRUE})