aboutsummaryrefslogtreecommitdiff
path: root/math/libranlip
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/libranlip
parent3b13c98a60e823f1bc3e1f443d21e61fcb8dcbcc (diff)
downloadports-d9b51276267edffe96f5dfa613e9010e8b20d481.tar.gz
ports-d9b51276267edffe96f5dfa613e9010e8b20d481.zip
Notes
Diffstat (limited to 'math/libranlip')
-rw-r--r--math/libranlip/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/math/libranlip/Makefile b/math/libranlip/Makefile
index 3b083c7a6938..0cc28ccc6749 100644
--- a/math/libranlip/Makefile
+++ b/math/libranlip/Makefile
@@ -22,19 +22,15 @@ PORTDOCS= ranlip.ps
PORTEXAMPLES= makefile ranliptest.cpp ranliptestproc.cpp
TESTPROGS= static_example static_example2 static_example3 shared_example
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
-.if !defined(NOPORTDOCS)
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/docs/ranlip.ps ${STAGEDIR}${DOCSDIR}
-.endif
-.if !defined(NOPORTEXAMPLES)
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for _file in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/examples/${_file} ${STAGEDIR}${EXAMPLESDIR}
.endfor
-.endif
test: build
@(cd ${WRKSRC}/examples; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} all)
@@ -46,4 +42,4 @@ test: build
BROKEN= fails to build
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>