Remove NOPORTDOCS.

This commit is contained in:
Adam Weinberger 2014-07-04 23:23:36 +00:00
parent e50d4e40ac
commit 1a43040a4e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360687
3 changed files with 8 additions and 6 deletions

View File

@ -29,16 +29,16 @@ PLIST_DIRS= include/gai
PORTDOCS= *
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e "s|sdl-config --|${SDL_CONFIG} --|g; \
s|/usr/X11R6|${LOCALBASE}|g" ${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/docs && \
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DOCSDIR}/{}" \;
.endif
.for dir in docking examples templates
cd ${WRKSRC} && \
${FIND} ${dir} -type d -exec ${MKDIR} "${STAGEDIR}${EXAMPLESDIR}/{}" \; && \

View File

@ -17,7 +17,7 @@ USE_WX= 3.0
WX_COMPS= wx
WX_UNICODE= yes
NOPORTDOCS= yes
OPTIONS_EXCLUDE=DOCS
post-patch::
@${REINPLACE_CMD} 's|"wx-config"|"wxgtk2u-2.9-config"| ; \

View File

@ -24,17 +24,19 @@ USES= gmake
MAKE_JOBS_UNSAFE= yes
MAKE_ENV= OPENWINHOME=${LOCALBASE}
.include <bsd.port.pre.mk>
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
IMAKECPPFLAGS+= -DXVDestDir=${STAGEDIR}${PREFIX}
MAKE_ARGS= STAGEDIR=${STAGEDIR}
post-install:
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${STAGEDIR}${DOCSDIR}
${GZIP_CMD} ${STAGEDIR}${DOCSDIR}/README ${STAGEDIR}${DOCSDIR}/*.ps
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>