View | Details | Raw Unified | Return to bug 148069 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/home/lapo/ports/monotone/Makefile (-13 / +13 lines)
Lines 2-13 Link Here
2
# Date created:                05 Feb 2004
2
# Date created:                05 Feb 2004
3
# Whom:                        Mark A. Wicks <mwicks@kettering.edu>
3
# Whom:                        Mark A. Wicks <mwicks@kettering.edu>
4
#
4
#
5
# $FreeBSD: ports/devel/monotone/Makefile,v 1.47 2010/05/31 01:58:21 ade Exp $
5
# $FreeBSD: ports/devel/monotone/Makefile,v 1.46 2009/10/27 13:38:45 ale Exp $
6
#
6
#
7
7
8
PORTNAME=	monotone
8
PORTNAME=	monotone
9
PORTVERSION=	0.45
9
PORTVERSION=	0.48
10
PORTREVISION=	2
11
CATEGORIES=	devel
10
CATEGORIES=	devel
12
MASTER_SITES=	http://monotone.ca/downloads/${PORTVERSION}/
11
MASTER_SITES=	http://monotone.ca/downloads/${PORTVERSION}/
13
12
Lines 20-25 Link Here
20
		sqlite3.8:${PORTSDIR}/databases/sqlite3 \
19
		sqlite3.8:${PORTSDIR}/databases/sqlite3 \
21
		botan.0:${PORTSDIR}/security/botan
20
		botan.0:${PORTSDIR}/security/botan
22
21
22
LICENSE=	GPLv2
23
LICENSE_FILE=	${WRKSRC}/COPYING
24
23
SUB_FILES=	pkg-message
25
SUB_FILES=	pkg-message
24
USE_PERL5_BUILD=yes
26
USE_PERL5_BUILD=yes
25
USE_ICONV=	yes
27
USE_ICONV=	yes
Lines 32-45 Link Here
32
		MAKEINFO="makeinfo --no-split"
34
		MAKEINFO="makeinfo --no-split"
33
35
34
PLIST_FILES=	bin/mtn bin/mtnopt share/zsh/site-functions/_mtn \
36
PLIST_FILES=	bin/mtn bin/mtnopt share/zsh/site-functions/_mtn \
35
		"@unexec [ -f %D/bin/zsh ] || rmdir %D/share/zsh/site-functions 2>/dev/null || true" \
37
		"@unexec [ -f %D/bin/zsh ] || ${RMDIR} %D/share/zsh/site-functions 2>/dev/null || true" \
36
		"@dirrmtry share/zsh"
38
		"@dirrmtry share/zsh"
37
.if !defined(NO_INSTALL_MANPAGES)
39
.if !defined(NO_INSTALL_MANPAGES)
38
INFO=		monotone
40
INFO=		monotone
39
.endif
41
.endif
40
.if !defined(NOPORTDOCS)
42
PORTDOCS=	*
41
PORTDOCS=	NEWS UPGRADE monotone.html texinfo.css
42
.endif
43
43
44
.include <bsd.port.pre.mk>
44
.include <bsd.port.pre.mk>
45
45
Lines 54-72 Link Here
54
PLIST_FILES+=	share/locale/de/LC_MESSAGES/monotone.mo \
54
PLIST_FILES+=	share/locale/de/LC_MESSAGES/monotone.mo \
55
		share/locale/es/LC_MESSAGES/monotone.mo \
55
		share/locale/es/LC_MESSAGES/monotone.mo \
56
		share/locale/it/LC_MESSAGES/monotone.mo \
56
		share/locale/it/LC_MESSAGES/monotone.mo \
57
		share/locale/pt/LC_MESSAGES/monotone.mo \
57
		share/locale/sv/LC_MESSAGES/monotone.mo
58
		share/locale/sv/LC_MESSAGES/monotone.mo
58
#		share/locale/fr/LC_MESSAGES/monotone.mo \
59
#		share/locale/ja/LC_MESSAGES/monotone.mo \
60
#		share/locale/pt_BR/LC_MESSAGES/monotone.mo \
61
.endif
59
.endif
62
60
63
post-extract:
61
post-extract:
64
	@${RM} -f ${WRKSRC}/monotone.info*
62
	@${RM} -f ${WRKSRC}/monotone.info*
65
63
66
post-patch:
64
post-patch:
67
	${REINPLACE_CMD} -e '/^install-data-am:/s/ install-htmlDATA//' ${WRKSRC}/Makefile.in
65
.if defined(NOPORTDOCS)
66
	${REINPLACE_CMD} -Ee '/^install-data-am:/,/^$$/s/install-html(figure|image)?DATA //g' ${WRKSRC}/Makefile.in
67
.endif
68
.if defined(NO_INSTALL_MANPAGES)
68
.if defined(NO_INSTALL_MANPAGES)
69
	${REINPLACE_CMD} -e '/^install-data-am:/s/ install-info-am//' ${WRKSRC}/Makefile.in
69
	${REINPLACE_CMD} -e '/^install-data-am:/,/^$$/s/ install-info-am//' ${WRKSRC}/Makefile.in
70
.endif
70
.endif
71
71
72
post-install:
72
post-install:
Lines 74-80 Link Here
74
	${INSTALL_DATA} ${WRKSRC}/contrib/monotone.zsh_completion ${PREFIX}/share/zsh/site-functions/_mtn
74
	${INSTALL_DATA} ${WRKSRC}/contrib/monotone.zsh_completion ${PREFIX}/share/zsh/site-functions/_mtn
75
.if !defined(NOPORTDOCS)
75
.if !defined(NOPORTDOCS)
76
	${MKDIR} ${DOCSDIR}
76
	${MKDIR} ${DOCSDIR}
77
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
77
	cd ${WRKSRC} && ${INSTALL_DATA} NEWS UPGRADE ${DOCSDIR}
78
.endif
78
.endif
79
	@${CAT} ${PKGMESSAGE}
79
	@${CAT} ${PKGMESSAGE}
80
80
(-)/usr/home/lapo/ports/monotone/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (monotone-0.45.tar.gz) = bd37c3d75e3fd1974a17f556499b42ab
1
MD5 (monotone-0.48.tar.gz) = 330a1fe1d92c899d1ad539606f85a9f8
2
SHA256 (monotone-0.45.tar.gz) = 64c734274715f392eb4a879172a11c0606d37c02b4a6f23045772af5f8e2a9ec
2
SHA256 (monotone-0.48.tar.gz) = 3149abf0e4433a0e14c5da805a04dbbc45b16086bc267d473b17e933407d839d
3
SIZE (monotone-0.45.tar.gz) = 4645511
3
SIZE (monotone-0.48.tar.gz) = 4792019
(-)/usr/home/lapo/ports/monotone/mtn-0.4.8-patch2.diff (+90 lines)
Line 0 Link Here
1
diff -ruN --exclude=CVS /usr/ports/devel/monotone/Makefile /usr/home/lapo/ports/monotone/Makefile
2
--- /usr/ports/devel/monotone/Makefile	2010-05-31 03:58:21.000000000 +0200
3
+++ /usr/home/lapo/ports/monotone/Makefile	2010-06-28 12:40:26.000000000 +0200
4
@@ -2,12 +2,11 @@
5
 # Date created:                05 Feb 2004
6
 # Whom:                        Mark A. Wicks <mwicks@kettering.edu>
7
 #
8
-# $FreeBSD: ports/devel/monotone/Makefile,v 1.47 2010/05/31 01:58:21 ade Exp $
9
+# $FreeBSD: ports/devel/monotone/Makefile,v 1.46 2009/10/27 13:38:45 ale Exp $
10
 #
11
 
12
 PORTNAME=	monotone
13
-PORTVERSION=	0.45
14
-PORTREVISION=	2
15
+PORTVERSION=	0.48
16
 CATEGORIES=	devel
17
 MASTER_SITES=	http://monotone.ca/downloads/${PORTVERSION}/
18
 
19
@@ -20,6 +19,9 @@
20
 		sqlite3.8:${PORTSDIR}/databases/sqlite3 \
21
 		botan.0:${PORTSDIR}/security/botan
22
 
23
+LICENSE=	GPLv2
24
+LICENSE_FILE=	${WRKSRC}/COPYING
25
+
26
 SUB_FILES=	pkg-message
27
 USE_PERL5_BUILD=yes
28
 USE_ICONV=	yes
29
@@ -32,14 +34,12 @@
30
 		MAKEINFO="makeinfo --no-split"
31
 
32
 PLIST_FILES=	bin/mtn bin/mtnopt share/zsh/site-functions/_mtn \
33
-		"@unexec [ -f %D/bin/zsh ] || rmdir %D/share/zsh/site-functions 2>/dev/null || true" \
34
+		"@unexec [ -f %D/bin/zsh ] || ${RMDIR} %D/share/zsh/site-functions 2>/dev/null || true" \
35
 		"@dirrmtry share/zsh"
36
 .if !defined(NO_INSTALL_MANPAGES)
37
 INFO=		monotone
38
 .endif
39
-.if !defined(NOPORTDOCS)
40
-PORTDOCS=	NEWS UPGRADE monotone.html texinfo.css
41
-.endif
42
+PORTDOCS=	*
43
 
44
 .include <bsd.port.pre.mk>
45
 
46
@@ -54,19 +54,19 @@
47
 PLIST_FILES+=	share/locale/de/LC_MESSAGES/monotone.mo \
48
 		share/locale/es/LC_MESSAGES/monotone.mo \
49
 		share/locale/it/LC_MESSAGES/monotone.mo \
50
+		share/locale/pt/LC_MESSAGES/monotone.mo \
51
 		share/locale/sv/LC_MESSAGES/monotone.mo
52
-#		share/locale/fr/LC_MESSAGES/monotone.mo \
53
-#		share/locale/ja/LC_MESSAGES/monotone.mo \
54
-#		share/locale/pt_BR/LC_MESSAGES/monotone.mo \
55
 .endif
56
 
57
 post-extract:
58
 	@${RM} -f ${WRKSRC}/monotone.info*
59
 
60
 post-patch:
61
-	${REINPLACE_CMD} -e '/^install-data-am:/s/ install-htmlDATA//' ${WRKSRC}/Makefile.in
62
+.if defined(NOPORTDOCS)
63
+	${REINPLACE_CMD} -Ee '/^install-data-am:/,/^$$/s/install-html(figure|image)?DATA //g' ${WRKSRC}/Makefile.in
64
+.endif
65
 .if defined(NO_INSTALL_MANPAGES)
66
-	${REINPLACE_CMD} -e '/^install-data-am:/s/ install-info-am//' ${WRKSRC}/Makefile.in
67
+	${REINPLACE_CMD} -e '/^install-data-am:/,/^$$/s/ install-info-am//' ${WRKSRC}/Makefile.in
68
 .endif
69
 
70
 post-install:
71
@@ -74,7 +74,7 @@
72
 	${INSTALL_DATA} ${WRKSRC}/contrib/monotone.zsh_completion ${PREFIX}/share/zsh/site-functions/_mtn
73
 .if !defined(NOPORTDOCS)
74
 	${MKDIR} ${DOCSDIR}
75
-	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
76
+	cd ${WRKSRC} && ${INSTALL_DATA} NEWS UPGRADE ${DOCSDIR}
77
 .endif
78
 	@${CAT} ${PKGMESSAGE}
79
 
80
diff -ruN --exclude=CVS /usr/ports/devel/monotone/distinfo /usr/home/lapo/ports/monotone/distinfo
81
--- /usr/ports/devel/monotone/distinfo	2009-09-17 12:35:46.000000000 +0200
82
+++ /usr/home/lapo/ports/monotone/distinfo	2010-06-21 11:48:56.000000000 +0200
83
@@ -1,3 +1,3 @@
84
-MD5 (monotone-0.45.tar.gz) = bd37c3d75e3fd1974a17f556499b42ab
85
-SHA256 (monotone-0.45.tar.gz) = 64c734274715f392eb4a879172a11c0606d37c02b4a6f23045772af5f8e2a9ec
86
-SIZE (monotone-0.45.tar.gz) = 4645511
87
+MD5 (monotone-0.48.tar.gz) = 330a1fe1d92c899d1ad539606f85a9f8
88
+SHA256 (monotone-0.48.tar.gz) = 3149abf0e4433a0e14c5da805a04dbbc45b16086bc267d473b17e933407d839d
89
+SIZE (monotone-0.48.tar.gz) = 4792019
90
Files /usr/ports/devel/monotone/monotone-0.48.tbz and /usr/home/lapo/ports/monotone/monotone-0.48.tbz differ

Return to bug 148069