aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-04-22 00:24:12 +0800
committeritetcu <itetcu@FreeBSD.org>2009-04-22 00:24:12 +0800
commit3ecfdf78265914bb69fb13f5a20c36774aa573c6 (patch)
tree17c4de8273a3908615ecc4e539707f8321c219fd /deskutils
parent9ae0a4016dede99023873f645fce1854710ad18a (diff)
downloadfreebsd-ports-gnome-3ecfdf78265914bb69fb13f5a20c36774aa573c6.tar.gz
freebsd-ports-gnome-3ecfdf78265914bb69fb13f5a20c36774aa573c6.tar.zst
freebsd-ports-gnome-3ecfdf78265914bb69fb13f5a20c36774aa573c6.zip
- really reaspect DOCSDIR
- fix plist with -DNOPORTDOCS Prompted by: QAT QA run Approved by: maintainer timeout on QATMail
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/ljcharm/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/deskutils/ljcharm/Makefile b/deskutils/ljcharm/Makefile
index b703f8088aad..d6b4b2f47f42 100644
--- a/deskutils/ljcharm/Makefile
+++ b/deskutils/ljcharm/Makefile
@@ -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