Changeset View
Changeset View
Standalone View
Standalone View
head/math/adept/Makefile
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
PORTNAME= adept | |||||
DISTVERSION= 2.0.3 | |||||
CATEGORIES= math | |||||
MASTER_SITES= http://www.met.reading.ac.uk/clouds/adept/ | |||||
MAINTAINER= yuri@FreeBSD.org | |||||
COMMENT= Combined array and automatic differentiation library in C++ | |||||
LICENSE= APACHE20 | |||||
LICENSE_FILE= ${WRKSRC}/COPYING | |||||
USES= autoreconf gmake fortran blaslapack:openblas libtool | |||||
GNU_CONFIGURE= yes | |||||
CONFIGURE_ARGS= --disable-static | |||||
USE_LDCONFIG= yes | |||||
INSTALL_TARGET= install-strip | |||||
OPTIONS_DEFINE= DOCS | |||||
DOCS_USE= TEX=pdftex:build,dvipsk:build | |||||
adamw: Wait, sorry, this is problematic. pdftex is a gigantic dependency, and we never bring in huge… | |||||
yuriAuthorUnsubmitted Done Inline ActionsIt wants the `pdflatex``` command to build pdfs from latex files. yuri: It wants the ```pdflatex``` command to build pdfs from latex files. | |||||
yuriAuthorUnsubmitted Done Inline ActionsAdam, but there is no such standard option: `PDFTEX_DOCS``. People who have blanket OPTIONS_UNSET= DOCS` in their make.conf will be upset because this one will still be on? yuri: Adam, but there is no such standard option: ```PDFTEX_DOCS```. People who have blanket… | |||||
adamwUnsubmitted Done Inline ActionsAs an example, there are 75 ports that use a DOXYGEN option instead of DOCS. DOCS cannot bring in LaTeX. This is a much larger surprise than a second option to control docs (which many ports have). This is policy. adamw: As an example, there are 75 ports that use a `DOXYGEN` option instead of `DOCS`.
`DOCS` cannot… | |||||
matUnsubmitted Not Done Inline ActionsPDF_DOCS mat: `PDF_DOCS` | |||||
post-build-DOCS-on: | |||||
@cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} | |||||
adamwUnsubmitted Done Inline ActionsThis loses MAKE_ARGS. I usually recommend using ${DO_MAKE_BUILD}. post-build-PDFTEX_DOCS-on: ${DO_MAKE_BUILD} -C ${WRKSRC}/doc adamw: This loses MAKE_ARGS. I usually recommend using `${DO_MAKE_BUILD}`.
```
post-build-PDFTEX_DOCS… | |||||
yuriAuthorUnsubmitted Done Inline Actions
This particular command doesn't need make arguments. yuri: > This loses MAKE_ARGS.
This particular command doesn't need make arguments. | |||||
post-install-DOCS-on: | |||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | |||||
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${STAGEDIR}${DOCSDIR} | |||||
.include <bsd.port.mk> |
Wait, sorry, this is problematic. pdftex is a gigantic dependency, and we never bring in huge dependencies for DOCS. Things with huge dependencies should be under something like PDFTEX_DOCS (still enabled by default) so that users have some idea what they're getting into if they keep it enabled.