mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +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
|
PLIST_FILES= bin/fujiplay bin/yycc2ppm
|
||||||
PORTDOCS= README fujiplay.lsm mx700-commands.html
|
PORTDOCS= README fujiplay.lsm mx700-commands.html
|
||||||
|
|
||||||
NO_STAGE= yes
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's/^\(CC[^g]*\)gcc$$/\1${CC}/' ${WRKSRC}/Makefile
|
@${REINPLACE_CMD} -e 's/^\(CC[^g]*\)gcc$$/\1${CC}/' ${WRKSRC}/Makefile
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
(cd ${WRKDIR}; ${INSTALL_PROGRAM} fujiplay yycc2ppm ${PREFIX}/bin)
|
(cd ${WRKDIR}; ${INSTALL_PROGRAM} fujiplay yycc2ppm ${STAGEDIR}${PREFIX}/bin)
|
||||||
.if !defined(NOPORTDOCS)
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/fujiplay
|
||||||
${MKDIR} ${PREFIX}/share/doc/fujiplay
|
|
||||||
.for f in ${PORTDOCS}
|
.for f in ${PORTDOCS}
|
||||||
${INSTALL_DATA} ${WRKDIR}/${f} ${PREFIX}/share/doc/fujiplay
|
${INSTALL_DATA} ${WRKDIR}/${f} ${STAGEDIR}${PREFIX}/share/doc/fujiplay
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user