Change the words NOPORTDOCS and NOPORTEXAMPLES in a couple comments so that

future updates won't trigger the NOPORT* commit hook checks.
This commit is contained in:
Adam Weinberger 2014-09-10 22:27:47 +00:00
parent c50469eb32
commit d3f5b07a70
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367902
4 changed files with 7 additions and 7 deletions

View file

@ -17,18 +17,18 @@ USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
# doxygen build is BROKEN atm
#.if exists (${LOCALBASE}/bin/doxygen) || !defined (NOPORTDOCS)
#.if exists (${LOCALBASE}/bin/doxygen) || ${PORT_OPTIONS:MDOCS}
#BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
#.else
CONFIGURE_ARGS+= --disable-doxygen
#.endif
#.if !exists (${LOCALBASE}/bin/doxygen) && !defined (NOPORTDOCS)
#.if !exists (${LOCALBASE}/bin/doxygen) && ${PORT_OPTIONS:MDOCS}
#pre-everything::
# @${ECHO_CMD}
# @${ECHO_CMD} By default, this port uses doxygen to build its documentation.\
#It currently is not present your system, and if you do not want to install it, abort\
#this build by hitting CTRL+C and re-run the installation with -DNOPORTDOCS | ${FMT} 74
#this build by hitting CTRL+C and re-run the installation with OPTIONS_UNSET=DOCS | ${FMT} 74
# @${ECHO_CMD}
# @sleep 3
#.endif

View file

@ -42,7 +42,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|reference||g' ${WRKSRC}/doc/Makefile.in
# @${FIND} ${WRKSRC}/examples -name Makefile.in -type f | ${XARGS} ${REINPLACE_CMD} -e \
# 's|$$(datadir)/doc/seed/examples|${EXAMPLESDIR}|g'
#.if defined(NOPORTEXAMPLES)
#.if empty(PORT_OPTIONS:MEXAMPLES)
# @${REINPLACE_CMD} -e 's|examples||g' \
# ${WRKSRC}/Makefile.in
#.endif

View file

@ -503,7 +503,7 @@ post-install:
cd ${WRKSRC}/src/tools.sqlite_drv && \
${INSTALL_DATA} *.sql ${STAGEDIR}${EXAMPLESDIR}/sqlite
.endif
.endif # NOPORTEXAMPLES
.endif # PORT_OPTIONS:MEXAMPLES
.if ${PORT_OPTIONS:MWEBUI}
${MV} ${WRKSRC}/webui/cgi-bin/configure.pl ${WRKSRC}/webui/cgi-bin/configure.pl.sample

View file

@ -30,7 +30,7 @@ MAKE_ARGS+= LIBEXECDIR="${PREFIX}/libexec" \
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD
. if ${OSVERSION} < 900030
@ -51,4 +51,4 @@ post-patch:
-e 's|^\(BSDCONFIG=\).*|\1${PREFIX}/sbin/${PORTNAME}|' \
${WRKSRC}/dot/dot
.include <bsd.port.mk>
.include <bsd.port.post.mk>