mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
STAGE support.
This commit is contained in:
parent
6817641b20
commit
f806355804
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351561
@ -15,19 +15,15 @@ COMMENT= "mirror" subtrees of FTP servers
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
ALL_TARGET= freebsd
|
||||
|
||||
NO_STAGE= yes
|
||||
pre-patch:
|
||||
${REINPLACE_CMD} -E -e "s@^(OPTFLAGS).*@\1=${CFLAGS}@" \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/omi ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
${INSTALL} -d -m 755 -o ${DOCOWN} -g ${DOCGRP} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/BSD-COPYRIGHT ${DOCSDIR}/
|
||||
.endif
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/omi ${STAGEDIR}${PREFIX}/bin
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for file in README.txt README.html CHANGES BSD_COPYRIGHT
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user