Remove PORT_OPTIONS:MDOCS checks from ports which don't need it

Add NO_ARCH if useful
This commit is contained in:
Eitan Adler 2013-12-07 05:35:04 +00:00
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

View file

@ -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>

View file

@ -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>