mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
Fix installation when NOPORTDOCS is defined. Also, honor EXAMPLESDIR.
This commit is contained in:
parent
94ffbbfaac
commit
fba5571d2c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=228463
@ -58,13 +58,15 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EXAMPLESDIR} -xf -
|
||||
${CHOWN} -R ${BINOWN}:${BINGRP} ${EXAMPLESDIR}
|
||||
${FIND} ${EXAMPLESDIR} -type d -print | ${XARGS} ${CHMOD} 0555
|
||||
${FIND} ${EXAMPLESDIR} -type f -print | ${XARGS} ${CHMOD} 0444
|
||||
.endif
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/MAPPING ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/THREADS ${DOCSDIR}
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user