aboutsummaryrefslogtreecommitdiff
path: root/devel/monotone
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-06-08 14:31:34 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-06-08 14:31:34 +0000
commit055c23380db8687752caff8f7319796698b169e3 (patch)
tree9184174ba728f31e1b736e98fdcc4b858db6eee7 /devel/monotone
parent528cf594311828ff2e9bebfc935cd38d4d881cd0 (diff)
downloadports-055c23380db8687752caff8f7319796698b169e3.tar.gz
ports-055c23380db8687752caff8f7319796698b169e3.zip
Notes
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