1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

I broke this port with MDOCS support, because I

didn't catch that it was using NOPORTDOCS backwards.

Thanks:	makc
This commit is contained in:
Adam Weinberger 2014-01-07 14:43:54 +00:00
parent a1ad6dcb5b
commit 9d1cb37fa9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339007

View File

@ -34,7 +34,6 @@ 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
@ -42,10 +41,7 @@ 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
.else
post-install: install-doc
install-doc:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}