mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stagify.
This commit is contained in:
parent
2a46f8afcc
commit
c12b81001e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364344
@ -14,18 +14,16 @@ COMMENT= Very efficient SDP (semidefinite programming) solver
|
||||
|
||||
USES= fortran gmake
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
SRCDATE= 20090729
|
||||
MANUALFILE= sdpa7-manual.pdf
|
||||
GNU_CONFIGURE= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}.src
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.if exists(${LOCALBASE}/lib/libgoto2.so)
|
||||
WITH_BLAS?= gotoblas
|
||||
WITH_BLAS?= gotoblas
|
||||
.elif exists(${LOCALBASE}/lib/libatlas.so)
|
||||
WITH_BLAS?= atlas
|
||||
WITH_BLAS?= atlas
|
||||
.else
|
||||
WITH_BLAS?= reference
|
||||
.endif
|
||||
@ -56,12 +54,10 @@ post-patch:
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/sdpa ${PREFIX}/bin
|
||||
@${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/param.sdpa ${DATADIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${MANUALFILE} ${DOCSDIR}
|
||||
.endif
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/sdpa ${STAGEDIR}${PREFIX}/bin
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/param.sdpa ${STAGEDIR}${DATADIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${MANUALFILE} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
bin/sdpa
|
||||
share/sdpa/param.sdpa
|
||||
@dirrm share/sdpa
|
||||
%%DATADIR%%/param.sdpa
|
||||
@dirrm %%DATADIR%%
|
||||
%%PORTDOCS%%%%DOCSDIR%%/%%MANUALFILE%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user