mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Add stage support
- Add DOCS option
This commit is contained in:
parent
94100a887d
commit
c6a5c5f324
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344617
@ -9,15 +9,16 @@ MASTER_SITES= http://www.angelfire.com/linux/linuxjeff/mtrxmath/files/
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Small tool for matrix mathematics
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
PORTDOCS= README
|
||||
PLIST_FILES= bin/mtrxmath
|
||||
|
||||
NO_STAGE= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/mtrxmath ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/mtrxmath ${STAGEDIR}${PREFIX}/bin
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user