mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- really reaspect DOCSDIR
- fix plist with -DNOPORTDOCS Prompted by: QAT QA run Approved by: maintainer timeout on QATMail
This commit is contained in:
parent
a31fffe789
commit
41db4e414f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232434
1 changed files with 9 additions and 0 deletions
|
@ -21,6 +21,15 @@ USE_PYTHON= yes
|
||||||
USE_PYDISTUTILS= yes
|
USE_PYDISTUTILS= yes
|
||||||
PYDISTUTILS_PKGVERSION= 1.9.1
|
PYDISTUTILS_PKGVERSION= 1.9.1
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
${REINPLACE_CMD} -e 's,share/doc/charm,${DOCSDIR},' ${WRKSRC}/setup.py
|
||||||
|
.else
|
||||||
|
${REINPLACE_CMD} -e '/data_files = /d' \
|
||||||
|
-e '/man\/man1/s,^[ ]*, data_files = [ ,' \
|
||||||
|
${WRKSRC}/setup.py
|
||||||
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
${INSTALL_DATA} ${WRKSRC}/CHANGES.charm ${DOCSDIR}/CHANGES
|
${INSTALL_DATA} ${WRKSRC}/CHANGES.charm ${DOCSDIR}/CHANGES
|
||||||
|
|
Loading…
Add table
Reference in a new issue