diff options
Diffstat (limited to 'cad/pdnmesh')
-rw-r--r-- | cad/pdnmesh/Makefile | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/cad/pdnmesh/Makefile b/cad/pdnmesh/Makefile index 8ff4aaa190cb..cd7768dc1a94 100644 --- a/cad/pdnmesh/Makefile +++ b/cad/pdnmesh/Makefile @@ -25,23 +25,17 @@ LDFLAGS+= -lm DESKTOP_ENTRIES="pdnMesh" "${COMMENT}" "" "${PORTNAME}" "" true -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MATLAS} -USES+= blaslapack:atlas -CONFIGURE_ARGS+=--with-blas=cblas --with-lapack=alapack -.else -USES+= blaslapack -CONFIGURE_ARGS+=--with-blas=blas --with-lapack=lapack -.endif +ATLAS_USES= blaslapack:atlas +ATLAS_CONFIGURE_ON=--with-blas=cblas --with-lapack=alapack +ATLAS_USES_OFF= blaslapack +ATLAS_CONFIGURE_OFF=--with-blas=blas --with-lapack=lapack post-patch: @${REINPLACE_CMD}-e \ '/^SUBDIRS/s|doc|| ; \ s|^pkgdata_DATA|#pkgdata_DATA|' ${WRKSRC}/Makefile.in -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} \ && ${INSTALL_DATA} ChangeLog ${STAGEDIR}${DOCSDIR} \ @@ -50,11 +44,9 @@ post-install: (cd ${WRKSRC}/doc/tutorial \ && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}/tutorial \ && ${INSTALL_DATA} tutorial.* ${STAGEDIR}${DOCSDIR}/tutorial) -.endif -.if ${PORT_OPTIONS:MEXAMPLES} +post-install-EXAMPLES-on: (cd ${WRKSRC}/doc/examples && \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) ${RM} ${STAGEDIR}${EXAMPLESDIR}/Makefile* -.endif .include <bsd.port.mk> |