Remove PORT_OPTIONS:MDOCS checks from ports which don't need it
Add NO_ARCH if useful
This commit is contained in:
parent
929434f78e
commit
a351fa81d3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335813
2 changed files with 0 additions and 8 deletions
|
@ -20,12 +20,8 @@ MAKE_ENV+= STAGEDIR=$(STAGEDIR)
|
|||
|
||||
CONFLICTS= cutils-[0-9]*
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/testset* ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -17,15 +17,11 @@ MAKE_ENV+= LIBCGETOPT=0
|
|||
|
||||
DOCS= Changelog README
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|' ${WRKSRC}/Makefile
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue