1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

- Update port to 0.48.

- Add LICENSE information.

PR:		ports/148069
Submitted by:	Lapo Luchini <lapo@lapo.it> (maintainer)
Approved by:	tabthorpe (mentor)
Feature safe:	yes
This commit is contained in:
Ashish SHUKLA 2010-06-29 09:07:03 +00:00
parent 149309a70d
commit 44a3af938c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257145
2 changed files with 15 additions and 15 deletions

View File

@ -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}

View File

@ -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