79ae9cc434
pkglint -Wall -F --only aligned -r Manual correction in R/Makefile.extension for the MASTER_SITES continuation line.
32 lines
915 B
Makefile
32 lines
915 B
Makefile
# $NetBSD: Makefile,v 1.5 2019/11/02 16:16:22 rillig Exp $
|
|
|
|
DISTNAME= sundials-4.1.0
|
|
PKGREVISION= 1
|
|
CATEGORIES= math
|
|
MASTER_SITES= https://computation.llnl.gov/projects/sundials/download/
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= https://computation.llnl.gov/projects/sundials
|
|
COMMENT= Suite of nonlinear and differential/algrbraic equation solvers
|
|
LICENSE= modified-bsd
|
|
|
|
PYTHON_FOR_BUILD_ONLY= yes
|
|
USE_CMAKE= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build
|
|
|
|
CMAKE_ARG_PATH= ..
|
|
CMAKE_ARGS+= -DEXAMPLES_INSTALL_PATH=${PREFIX}/share/examples/sundials
|
|
|
|
INSTALLATION_DIRS+= share/doc/${PKGBASE}
|
|
|
|
post-extract:
|
|
${MKDIR} ${WRKSRC}
|
|
|
|
post-install:
|
|
${MV} ${DESTDIR}${PREFIX}/include/sundials/LICENSE \
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
${INSTALL_DATA} ${WRKSRC}/../README.md ${WRKSRC}/../doc/*/* \
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|