1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Fix plist with -DNOPORTDOCS.

Prompted by:	QAT QA run
Approved by:	maintainer timeout on QATMail
This commit is contained in:
Ion-Mihai Tetcu 2009-04-07 20:40:39 +00:00
parent 1a884346bf
commit c7bba1143f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231810

View File

@ -37,7 +37,7 @@ post-configure:
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/GalaxyMage.py ${PREFIX}/bin/GalaxyMage
@${MKDIR} ${DATADIR} ${DOCSDIR}
@${MKDIR} ${DATADIR}
.for DIRE in src data
@cd ${WRKSRC}/${DIRE} && \
${FIND} * -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
@ -51,6 +51,7 @@ do-install:
${PREFIX}/share/locale/${FILE}/LC_MESSAGES
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}/doc && \
${FIND} * -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \
${FIND} -E * -type f -iregex ".*\.(html|css|txt|png)" -exec ${INSTALL_DATA} "{}" \