aboutsummaryrefslogtreecommitdiff
path: root/math/trlan
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/trlan
parent3b13c98a60e823f1bc3e1f443d21e61fcb8dcbcc (diff)
downloadports-d9b51276267edffe96f5dfa613e9010e8b20d481.tar.gz
ports-d9b51276267edffe96f5dfa613e9010e8b20d481.zip
Notes
Diffstat (limited to 'math/trlan')
-rw-r--r--math/trlan/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/math/trlan/Makefile b/math/trlan/Makefile
index 2e32b0f59467..6d78c99e757f 100644
--- a/math/trlan/Makefile
+++ b/math/trlan/Makefile
@@ -21,15 +21,12 @@ ALL_TARGET= lib
PLIST_FILES= lib/libtrlan.a lib/libtrlan.so lib/libtrlan.so.1
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.pre.mk>
-.ifndef(NOPORTDOCS)
PORTDOCS= trlan-ug.pdf
-.endif
-
-.ifndef(NOPORTEXAMPLES)
PORTEXAMPLES= Makefile README dense.f90 simple.f90 simple77.f simplec.c
-.endif
.if ${ARCH} == sparc64
PICFLAG= -fPIC
@@ -66,15 +63,11 @@ do-build:
do-install:
@${INSTALL_DATA} ${WRKDIR}/libtrlan.* ${STAGEDIR}${PREFIX}/lib
@${LN} -sf libtrlan.so.1 ${STAGEDIR}${PREFIX}/lib/libtrlan.so
-.ifndef(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${DISTDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
-.ifndef(NOPORTEXAMPLES)
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@cd ${WRKSRC}/examples/SUN && ${INSTALL_DATA} ${PORTEXAMPLES} \
${STAGEDIR}${EXAMPLESDIR}
-.endif
.if defined(MAINTAINER_MODE)