diff options
author | itetcu <itetcu@FreeBSD.org> | 2008-06-08 22:31:34 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2008-06-08 22:31:34 +0800 |
commit | fa604ff80a086e6d69d07f874ca30baea53b47bd (patch) | |
tree | 8c82d52af2c3189f32d225e0bc8dbe6b921d85e5 | |
parent | 6c57f99fa48cabfba1d535bfc504e304ece742be (diff) | |
download | freebsd-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)
-rw-r--r-- | devel/monotone/Makefile | 14 |
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 |