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

Collapse All | Expand All

(-)monotone/Makefile (-13 / +32 lines)
Lines 6-45 Link Here
6
#
6
#
7
7
8
PORTNAME=	monotone
8
PORTNAME=	monotone
9
PORTVERSION=	0.99.1
9
PORTVERSION=	1.0
10
PORTREVISION=	1
11
CATEGORIES=	devel
10
CATEGORIES=	devel
12
MASTER_SITES=	http://www.monotone.ca/downloads/${PORTVERSION}/
11
MASTER_SITES=	http://www.monotone.ca/downloads/${PORTVERSION}/
13
12
14
MAINTAINER=	lapo@lapo.it
13
MAINTAINER=	lapo@lapo.it
15
COMMENT=	A distributed version control system with digital signatures
14
COMMENT=	A distributed version control system with digital signatures
16
15
16
LICENSE=	GPLv2
17
LICENSE_FILE=	${WRKSRC}/COPYING
18
17
BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
19
BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
18
LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre \
20
LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre \
19
		idn.17:${PORTSDIR}/dns/libidn \
21
		idn.17:${PORTSDIR}/dns/libidn \
20
		sqlite3.8:${PORTSDIR}/databases/sqlite3 \
22
		sqlite3.8:${PORTSDIR}/databases/sqlite3 \
21
		botan.0:${PORTSDIR}/security/botan
23
		botan.0:${PORTSDIR}/security/botan
22
24
23
LICENSE=	GPLv2
24
LICENSE_FILE=	${WRKSRC}/COPYING
25
26
SUB_FILES=	pkg-message
25
SUB_FILES=	pkg-message
26
USE_BZIP2=	yes
27
USE_PERL5_BUILD=yes
27
USE_PERL5_BUILD=yes
28
USE_ICONV=	yes
28
USE_ICONV=	yes
29
USE_GMAKE=	yes
29
USE_GMAKE=	yes
30
USE_LUA=	5.1+
30
USE_LUA=	5.1+
31
31
32
GNU_CONFIGURE=	yes
32
GNU_CONFIGURE=	yes
33
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
33
CPPFLAGS=	-I${LOCALBASE}/include
34
		LDFLAGS="-L${LOCALBASE}/lib" \
34
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib" \
35
		MAKEINFO="makeinfo --no-split"
35
		MAKEINFO="makeinfo --no-split"
36
36
37
PLIST_FILES=	bin/mtn bin/mtnopt share/zsh/site-functions/_mtn \
37
PLIST_FILES=	bin/mtn bin/mtn-cleanup bin/mtnopt \
38
		share/monotone/hooks/authorize_remote_automate.lua \
39
		share/monotone/hooks/get_passphrase_from_file.lua \
40
		share/monotone/hooks/monotone-buildbot.lua \
41
		share/monotone/hooks/monotone-ciabot.lua \
42
		share/monotone/hooks/monotone-cluster-push.lua \
43
		share/monotone/hooks/monotone-cvs-ignore.lua \
44
		share/monotone/hooks/monotone-mail-notify.lua \
45
		share/monotone/scripts/monotone-ciabot.py \
46
		share/monotone/scripts/monotone-mail-notify \
47
		etc/bash_completion.d/monotone.bash_completion \
48
		share/zsh/site-functions/_mtn \
38
		"@unexec [ -f %D/bin/zsh ] || ${RMDIR} %D/share/zsh/site-functions 2>/dev/null || true" \
49
		"@unexec [ -f %D/bin/zsh ] || ${RMDIR} %D/share/zsh/site-functions 2>/dev/null || true" \
39
		"@dirrmtry share/zsh"
50
		"@dirrmtry share/zsh" \
51
		"@dirrmtry etc/bash_completion.d" \
52
		"@dirrm share/monotone/hooks" \
53
		"@dirrm share/monotone/scripts" \
54
		"@dirrm share/monotone"
40
.if !defined(NO_INSTALL_MANPAGES)
55
.if !defined(NO_INSTALL_MANPAGES)
41
INFO=		monotone
56
INFO=		monotone
42
MAN1=		mtn.1
57
MAN1=		mtn.1 \
58
		mtn-cleanup.1 \
59
		mtnopt.1
43
.endif
60
.endif
44
PORTDOCS=	*
61
PORTDOCS=	*
45
62
Lines 54-60 Link Here
54
.else
71
.else
55
USE_GETTEXT=	yes
72
USE_GETTEXT=	yes
56
PLIST_FILES+=	share/locale/de/LC_MESSAGES/monotone.mo \
73
PLIST_FILES+=	share/locale/de/LC_MESSAGES/monotone.mo \
57
		share/locale/es/LC_MESSAGES/monotone.mo \
74
		share/locale/fr/LC_MESSAGES/monotone.mo \
58
		share/locale/it/LC_MESSAGES/monotone.mo \
75
		share/locale/it/LC_MESSAGES/monotone.mo \
59
		share/locale/pt/LC_MESSAGES/monotone.mo \
76
		share/locale/pt/LC_MESSAGES/monotone.mo \
60
		share/locale/sv/LC_MESSAGES/monotone.mo
77
		share/locale/sv/LC_MESSAGES/monotone.mo
Lines 65-74 Link Here
65
82
66
post-patch:
83
post-patch:
67
.if defined(NOPORTDOCS)
84
.if defined(NOPORTDOCS)
68
	${REINPLACE_CMD} -Ee '/^install-data-am:/,/^$$/s/install-html(figure|image)?DATA //g' ${WRKSRC}/Makefile.in
85
	${REINPLACE_CMD} -Ee '/^install-(contrib|examples)-data:/{' -e 'n' -e 'd' -e '}' ${WRKSRC}/Makefile.in
69
.endif
86
.endif
70
.if defined(NO_INSTALL_MANPAGES)
87
.if defined(NO_INSTALL_MANPAGES)
71
	${REINPLACE_CMD} -Ee '/^install-data-am:/,/^$$/s/([[:space:]]*)install-(info-am|man)/\1/' ${WRKSRC}/Makefile.in
88
	${REINPLACE_CMD} -Ee '/^install-(info|man): /s/ install-.*$$//' ${WRKSRC}/Makefile.in
89
	${REINPLACE_CMD} -Ee '/^install-info: /s/ install-info-am$$//' \
90
	-e '/^install-data-am:/s/ install-info-am$$//' ${WRKSRC}/doc/Makefile.in
72
.endif
91
.endif
73
92
74
post-install:
93
post-install:
(-)monotone/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (monotone-0.99.1.tar.gz) = 204ebb12f36599ac4c105ae5bf45edd7da13a4e57dc45f31789634fc8c2b30a1
1
SHA256 (monotone-1.0.tar.bz2) = 5c530bc4652b2c08b5291659f0c130618a14780f075f981e947952dcaefc31dc
2
SIZE (monotone-0.99.1.tar.gz) = 4940291
2
SIZE (monotone-1.0.tar.bz2) = 3588074

Return to bug 158393