mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stage support
This commit is contained in:
parent
3886cf15d6
commit
935ad50142
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342357
@ -17,17 +17,16 @@ NO_WRKSUBDIR= yes
|
||||
PLIST_FILES= bin/fujiplay bin/yycc2ppm
|
||||
PORTDOCS= README fujiplay.lsm mx700-commands.html
|
||||
|
||||
NO_STAGE= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/^\(CC[^g]*\)gcc$$/\1${CC}/' ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
(cd ${WRKDIR}; ${INSTALL_PROGRAM} fujiplay yycc2ppm ${PREFIX}/bin)
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/fujiplay
|
||||
(cd ${WRKDIR}; ${INSTALL_PROGRAM} fujiplay yycc2ppm ${STAGEDIR}${PREFIX}/bin)
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/fujiplay
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKDIR}/${f} ${PREFIX}/share/doc/fujiplay
|
||||
${INSTALL_DATA} ${WRKDIR}/${f} ${STAGEDIR}${PREFIX}/share/doc/fujiplay
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user