aboutsummaryrefslogtreecommitdiffstats
path: root/devel/monotone
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-06-08 22:31:34 +0800
committeritetcu <itetcu@FreeBSD.org>2008-06-08 22:31:34 +0800
commitfa604ff80a086e6d69d07f874ca30baea53b47bd (patch)
tree8c82d52af2c3189f32d225e0bc8dbe6b921d85e5 /devel/monotone
parent6c57f99fa48cabfba1d535bfc504e304ece742be (diff)
downloadfreebsd-ports-gnome-fa604ff80a086e6d69d07f874ca30baea53b47bd.tar.gz
freebsd-ports-gnome-fa604ff80a086e6d69d07f874ca30baea53b47bd.tar.zst
freebsd-ports-gnome-fa604ff80a086e6d69d07f874ca30baea53b47bd.zip
- As reported by itetcu@FreeBSD.org, monotone port wrongly installed some
docs even when not told to. I also went ahead and not installed INFOs if no man pages are wanted. - bump PORTREVISION PR: ports/124182 Submitted by: Lapo Luchini (maintainer)
Diffstat (limited to 'devel/monotone')
-rw-r--r--devel/monotone/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/devel/monotone/Makefile b/devel/monotone/Makefile
index b62036bfce9f..b980cad2970a 100644
--- a/devel/monotone/Makefile
+++ b/devel/monotone/Makefile
@@ -7,7 +7,7 @@
PORTNAME= monotone
PORTVERSION= 0.40
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://monotone.ca/downloads/${PORTVERSION}/
@@ -31,8 +31,12 @@ CONFIGURE_ARGS+= --with-system-pcre
PLIST_FILES= bin/mtn share/zsh/site-functions/_mtn \
"@unexec [ -f %D/bin/zsh ] || rmdir %D/share/zsh/site-functions 2>/dev/null || true" \
"@dirrmtry share/zsh"
+.if !defined(NO_INSTALL_MANPAGES)
INFO= monotone
-PORTDOCS= NEWS UPGRADE monotone.html
+.endif
+.if !defined(NOPORTDOCS)
+PORTDOCS= NEWS UPGRADE monotone.html texinfo.css
+.endif
.include <bsd.port.pre.mk>
@@ -56,6 +60,12 @@ PLIST_FILES+= share/locale/de/LC_MESSAGES/monotone.mo \
post-extract:
@${RM} -f ${WRKSRC}/monotone.info*
+post-patch:
+ ${REINPLACE_CMD} -e '/^install-data-am:/s/ install-htmlDATA//' ${WRKSRC}/Makefile.in
+.if defined(NO_INSTALL_MANPAGES)
+ ${REINPLACE_CMD} -e '/^install-data-am:/s/ install-info-am//' ${WRKSRC}/Makefile.in
+.endif
+
post-install:
${MKDIR} ${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/contrib/monotone.zsh_completion ${PREFIX}/share/zsh/site-functions/_mtn