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

This port uses advanced PORTDOCS technology that is beyond me.

Restore the original logic, and apply MDOCS to it properly.
This commit is contained in:
Adam Weinberger 2014-01-07 16:08:06 +00:00
parent 680df4bc03
commit 5653af431b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339010

View File

@ -34,6 +34,7 @@ post-patch:
@${REINPLACE_CMD} -e 's,test -d \.libs || mkdir,mkdir -p,' \
${WRKSRC}/libmp3lame/i386/Makefile.in
.if !${PORT_OPTIONS:MDOCS}
do-install:
@cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-exec
@ -41,7 +42,10 @@ do-install:
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-data
@cd ${INSTALL_WRKSRC}/doc/man && ${SETENV} ${MAKE_ENV} ${GMAKE} \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-data
.if ${PORT_OPTIONS:MDOCS}
.else
post-install: install-doc
install-doc:
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}