aboutsummaryrefslogtreecommitdiff
path: root/devel/monotone
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2010-06-29 09:07:03 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2010-06-29 09:07:03 +0000
commit44a3af938ceb3e5f53b85a04f71abbe28f9e6985 (patch)
tree2d92a728b3ec591f9d1f83fc10588d324c0598f0 /devel/monotone
parent149309a70d606931322d89a406f215b4d6b5f642 (diff)
downloadports-44a3af938ceb3e5f53b85a04f71abbe28f9e6985.tar.gz
ports-44a3af938ceb3e5f53b85a04f71abbe28f9e6985.zip
Notes
Diffstat (limited to 'devel/monotone')
-rw-r--r--devel/monotone/Makefile24
-rw-r--r--devel/monotone/distinfo6
2 files changed, 15 insertions, 15 deletions
diff --git a/devel/monotone/Makefile b/devel/monotone/Makefile
index d24e87cdd038..d39a3f75ba60 100644
--- a/devel/monotone/Makefile
+++ b/devel/monotone/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= monotone
-PORTVERSION= 0.45
-PORTREVISION= 2
+PORTVERSION= 0.48
CATEGORIES= devel
MASTER_SITES= http://monotone.ca/downloads/${PORTVERSION}/
@@ -20,6 +19,9 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \
sqlite3.8:${PORTSDIR}/databases/sqlite3 \
botan.0:${PORTSDIR}/security/botan
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
SUB_FILES= pkg-message
USE_PERL5_BUILD=yes
USE_ICONV= yes
@@ -32,14 +34,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAKEINFO="makeinfo --no-split"
PLIST_FILES= bin/mtn bin/mtnopt share/zsh/site-functions/_mtn \
- "@unexec [ -f %D/bin/zsh ] || rmdir %D/share/zsh/site-functions 2>/dev/null || true" \
+ "@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
.endif
-.if !defined(NOPORTDOCS)
-PORTDOCS= NEWS UPGRADE monotone.html texinfo.css
-.endif
+PORTDOCS= *
.include <bsd.port.pre.mk>
@@ -54,19 +54,19 @@ USE_GETTEXT= yes
PLIST_FILES+= share/locale/de/LC_MESSAGES/monotone.mo \
share/locale/es/LC_MESSAGES/monotone.mo \
share/locale/it/LC_MESSAGES/monotone.mo \
+ share/locale/pt/LC_MESSAGES/monotone.mo \
share/locale/sv/LC_MESSAGES/monotone.mo
-# share/locale/fr/LC_MESSAGES/monotone.mo \
-# share/locale/ja/LC_MESSAGES/monotone.mo \
-# share/locale/pt_BR/LC_MESSAGES/monotone.mo \
.endif
post-extract:
@${RM} -f ${WRKSRC}/monotone.info*
post-patch:
- ${REINPLACE_CMD} -e '/^install-data-am:/s/ install-htmlDATA//' ${WRKSRC}/Makefile.in
+.if defined(NOPORTDOCS)
+ ${REINPLACE_CMD} -Ee '/^install-data-am:/,/^$$/s/install-html(figure|image)?DATA //g' ${WRKSRC}/Makefile.in
+.endif
.if defined(NO_INSTALL_MANPAGES)
- ${REINPLACE_CMD} -e '/^install-data-am:/s/ install-info-am//' ${WRKSRC}/Makefile.in
+ ${REINPLACE_CMD} -e '/^install-data-am:/,/^$$/s/\([[:space:]]*\)install-info-am/\1/' ${WRKSRC}/Makefile.in
.endif
post-install:
@@ -74,7 +74,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/contrib/monotone.zsh_completion ${PREFIX}/share/zsh/site-functions/_mtn
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} NEWS UPGRADE ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
diff --git a/devel/monotone/distinfo b/devel/monotone/distinfo
index 3bfe98d84fb3..935f9053b26f 100644
--- a/devel/monotone/distinfo
+++ b/devel/monotone/distinfo
@@ -1,3 +1,3 @@
-MD5 (monotone-0.45.tar.gz) = bd37c3d75e3fd1974a17f556499b42ab
-SHA256 (monotone-0.45.tar.gz) = 64c734274715f392eb4a879172a11c0606d37c02b4a6f23045772af5f8e2a9ec
-SIZE (monotone-0.45.tar.gz) = 4645511
+MD5 (monotone-0.48.tar.gz) = 330a1fe1d92c899d1ad539606f85a9f8
+SHA256 (monotone-0.48.tar.gz) = 3149abf0e4433a0e14c5da805a04dbbc45b16086bc267d473b17e933407d839d
+SIZE (monotone-0.48.tar.gz) = 4792019