1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Remove NOPORTDOCS and NOPORTEXAMPLES.

This commit is contained in:
Adam Weinberger 2014-07-04 01:00:21 +00:00
parent 49fdfda270
commit b3981a4cd0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360503
3 changed files with 4 additions and 8 deletions

View File

@ -22,7 +22,7 @@ CONFIGURE_ARGS= --with-cpuflags=none --without-doxygen
PORTDOCS= README
OPTIONS_DEFINE= OPTIMIZED_CFLAGS PNG
OPTIONS_DEFINE= OPTIMIZED_CFLAGS PNG DOCS
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS PNG
PNG_LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
PNG_CONFIGURE_OFF= --disable-libpng
@ -37,9 +37,7 @@ post-patch:
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -19,15 +19,15 @@ PYDISTUTILS_PKGVERSION= 3.2
PORTDOCS= AUTHORS COPYING NEWS README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' ${WRKSRC}/setup.py
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -23,9 +23,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/streamanalyze ${STAGEDIR}${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>