mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Convert to OPTIONS
- Put HOME in MAKE_ARGS to handle possible override of HOME in MAKE_ENV from bsd.port.mk
This commit is contained in:
parent
e78a8b68bf
commit
a628b334dc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359203
@ -14,16 +14,16 @@ COMMENT= Package for solving large sparse systems of linear equations
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
MAKEFILE= makefile
|
||||
MAKE_ENV+= HOME=${STAGEDIR}${PREFIX}
|
||||
MAKE_ARGS= HOME=${STAGEDIR}${PREFIX}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's+/usr/local+${LOCALBASE}+g' ${WRKSRC}/${MAKEFILE}
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.ifdef MAINTAINER_MODE
|
||||
regression-test:
|
||||
|
Loading…
Reference in New Issue
Block a user