mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support stage
Approved by: portmgr (blanket)
This commit is contained in:
parent
af49fb10c2
commit
9db8a6698f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349420
@ -46,7 +46,6 @@ PORTEXAMPLES= ${EXAMPLE_FILES:N*/*}
|
|||||||
DOC_DIRS= ${DOC_FILES:H:O:u:N.}
|
DOC_DIRS= ${DOC_FILES:H:O:u:N.}
|
||||||
EXAMPLE_DIRS= ${EXAMPLE_FILES:H:O:u:N.}
|
EXAMPLE_DIRS= ${EXAMPLE_FILES:H:O:u:N.}
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MHTMLDOCS}
|
.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MHTMLDOCS}
|
||||||
@ -70,26 +69,21 @@ post-build:
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@${MKDIR} ${DOCSDIR}
|
|
||||||
@for i in ${DOC_DIRS}; do \
|
@for i in ${DOC_DIRS}; do \
|
||||||
${MKDIR} ${DOCSDIR}/$$i; \
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/$$i; \
|
||||||
done
|
done
|
||||||
@cd ${WRKSRC} && for i in ${DOC_FILES}; do \
|
@cd ${WRKSRC} && for i in ${DOC_FILES}; do \
|
||||||
${ECHO} "Installing ${DOCSDIR}/$$i"; \
|
${ECHO} "Installing ${STAGEDIR}${DOCSDIR}/$$i"; \
|
||||||
${INSTALL_DATA} $$i ${DOCSDIR}/$$i; \
|
${INSTALL_DATA} $$i ${STAGEDIR}${DOCSDIR}/$$i; \
|
||||||
done
|
done
|
||||||
.endif
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
||||||
@${MKDIR} ${EXAMPLESDIR}
|
|
||||||
@for i in ${EXAMPLE_DIRS}; do \
|
@for i in ${EXAMPLE_DIRS}; do \
|
||||||
${MKDIR} ${EXAMPLESDIR}/$$i; \
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/$$i; \
|
||||||
done
|
done
|
||||||
@cd ${WRKSRC} && for i in ${EXAMPLE_FILES}; do \
|
@cd ${WRKSRC} && for i in ${EXAMPLE_FILES}; do \
|
||||||
${ECHO} "Installing ${EXAMPLESDIR}/$$i"; \
|
${ECHO} "Installing ${STAGEDIR}${EXAMPLESDIR}/$$i"; \
|
||||||
${INSTALL_DATA} $$i ${EXAMPLESDIR}/$$i; \
|
${INSTALL_DATA} $$i ${STAGEDIR}${EXAMPLESDIR}/$$i; \
|
||||||
done
|
done
|
||||||
.endif
|
|
||||||
@${CAT} ${PKGMESSAGE}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user