- 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
@ -21,6 +21,15 @@ USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
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:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${INSTALL_DATA} ${WRKSRC}/CHANGES.charm ${DOCSDIR}/CHANGES
|
||||
|
Loading…
Reference in New Issue
Block a user