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

Collapse All | Expand All

(-)grsync/Makefile (-6 / +11 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	grsync
8
PORTNAME=	grsync
9
PORTVERSION=	0.6.1
9
PORTVERSION=	0.6.2
10
PORTREVISION=	1
11
CATEGORIES=	net ipv6
10
CATEGORIES=	net ipv6
12
MASTER_SITES=	http://www.opbyte.it/release/ \
11
MASTER_SITES=	http://www.opbyte.it/release/ \
13
		GENTOO/distfiles \
12
		GENTOO/distfiles \
Lines 22-38 Link Here
22
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
23
USE_GMAKE=	yes
22
USE_GMAKE=	yes
24
23
25
.if !defined(WITHOUT_NLS)
26
USE_GETTEXT=	yes
27
PLIST_SUB+=	NLS=""
28
CPPFLAGS+=	-I${LOCALBASE}/include
24
CPPFLAGS+=	-I${LOCALBASE}/include
29
LDFLAGS+=	-L${LOCALBASE}/lib
25
LDFLAGS+=	-L${LOCALBASE}/lib
30
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
26
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
27
28
.if !defined(WITHOUT_NLS)
29
USE_GETTEXT=	yes
30
PLIST_SUB+=	NLS=""
31
.else
31
.else
32
CONFIGURE_ARGS+=--disable-nls
33
PLIST_SUB+=	NLS="@comment "
32
PLIST_SUB+=	NLS="@comment "
34
.endif
33
.endif
35
34
36
MAN1=		grsync.1 grsync-batch.1
35
MAN1=		grsync.1 grsync-batch.1
37
36
37
post-patch:
38
.if defined(WITHOUT_NLS)
39
	@${REINPLACE_CMD} 's/^ALL_LINGUAS=.*/ALL_LINGUAS=""/' \
40
		${WRKSRC}/configure
41
.endif
42
38
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)grsync/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (grsync-0.6.1.tar.gz) = fe403f4c389603ba539ed1e6a79345ef
1
MD5 (grsync-0.6.2.tar.gz) = 5470c87807738ce9a5623c9bbefaff85
2
SHA256 (grsync-0.6.1.tar.gz) = 6c7526b44bac515b1d1407bc324404aa2c7749a0252c1948468835d29f265e40
2
SHA256 (grsync-0.6.2.tar.gz) = b4ba8479e03c73e3e5220d17132a07d4d12be3cb36e8b401cc9a119dce17c505
3
SIZE (grsync-0.6.1.tar.gz) = 214689
3
SIZE (grsync-0.6.2.tar.gz) = 222033
(-)grsync/files/patch-gmsgfmt (-20 lines)
Lines 1-20 Link Here
1
--- po/Makefile.in.in.orig	2007-07-18 22:25:46.000000000 +0800
2
+++ po/Makefile.in.in	2007-08-26 04:01:44.000000000 +0800
3
@@ -34,7 +34,7 @@
4
 datarootdir = @datarootdir@
5
 libdir = @libdir@
6
 DATADIRNAME = @DATADIRNAME@
7
-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
8
+itlocaledir = $(prefix)/share/locale
9
 subdir = po
10
 install_sh = @install_sh@
11
 # Automake >= 1.8 provides @mkdir_p@.
12
@@ -44,7 +44,7 @@
13
 INSTALL = @INSTALL@
14
 INSTALL_DATA = @INSTALL_DATA@
15
 
16
-GMSGFMT = @GMSGFMT@
17
+GMSGFMT = @INTLTOOL_MSGFMT@
18
 MSGFMT = @MSGFMT@
19
 XGETTEXT = @XGETTEXT@
20
 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
(-)grsync/files/patch-po-Makefile.in.in (+11 lines)
Line 0 Link Here
1
--- po/Makefile.in.in.orig	2008-12-08 11:44:27.794971692 +0100
2
+++ po/Makefile.in.in	2008-12-08 11:44:42.679745595 +0100
3
@@ -34,7 +34,7 @@
4
 datarootdir = @datarootdir@
5
 libdir = @libdir@
6
 DATADIRNAME = @DATADIRNAME@
7
-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
8
+itlocaledir = $(prefix)/share/locale
9
 subdir = po
10
 install_sh = @install_sh@
11
 # Automake >= 1.8 provides @mkdir_p@.
(-)grsync/pkg-plist (+7 lines)
Lines 2-9 Link Here
2
bin/grsync-batch
2
bin/grsync-batch
3
share/applications/grsync.desktop
3
share/applications/grsync.desktop
4
share/pixmaps/grsync.png
4
share/pixmaps/grsync.png
5
%%NLS%%share/locale/cs_CZ/LC_MESSAGES/grsync.mo
5
%%NLS%%share/locale/de_DE/LC_MESSAGES/grsync.mo
6
%%NLS%%share/locale/de_DE/LC_MESSAGES/grsync.mo
7
%%NLS%%share/locale/es_ES/LC_MESSAGES/grsync.mo
6
%%NLS%%share/locale/fr_FR/LC_MESSAGES/grsync.mo
8
%%NLS%%share/locale/fr_FR/LC_MESSAGES/grsync.mo
9
%%NLS%%share/locale/gl_ES/LC_MESSAGES/grsync.mo
7
%%NLS%%share/locale/it_IT/LC_MESSAGES/grsync.mo
10
%%NLS%%share/locale/it_IT/LC_MESSAGES/grsync.mo
8
%%NLS%%share/locale/nb_NO/LC_MESSAGES/grsync.mo
11
%%NLS%%share/locale/nb_NO/LC_MESSAGES/grsync.mo
9
%%NLS%%share/locale/nl_NL/LC_MESSAGES/grsync.mo
12
%%NLS%%share/locale/nl_NL/LC_MESSAGES/grsync.mo
Lines 11-18 Link Here
11
%%NLS%%share/locale/sv_SE/LC_MESSAGES/grsync.mo
14
%%NLS%%share/locale/sv_SE/LC_MESSAGES/grsync.mo
12
%%NLS%%share/locale/tr_TR/LC_MESSAGES/grsync.mo
15
%%NLS%%share/locale/tr_TR/LC_MESSAGES/grsync.mo
13
%%NLS%%share/locale/zh_CN/LC_MESSAGES/grsync.mo
16
%%NLS%%share/locale/zh_CN/LC_MESSAGES/grsync.mo
17
%%NLS%%@dirrmtry share/locale/cs_CZ/LC_MESSAGES
18
%%NLS%%@dirrmtry share/locale/cs_CZ
14
%%NLS%%@dirrmtry share/locale/de_DE/LC_MESSAGES
19
%%NLS%%@dirrmtry share/locale/de_DE/LC_MESSAGES
15
%%NLS%%@dirrmtry share/locale/de_DE
20
%%NLS%%@dirrmtry share/locale/de_DE
21
%%NLS%%@dirrmtry share/locale/gl_ES/LC_MESSAGES
22
%%NLS%%@dirrmtry share/locale/gl_ES
16
%%NLS%%@dirrmtry share/locale/it_IT/LC_MESSAGES
23
%%NLS%%@dirrmtry share/locale/it_IT/LC_MESSAGES
17
%%NLS%%@dirrmtry share/locale/it_IT
24
%%NLS%%@dirrmtry share/locale/it_IT
18
%%NLS%%@dirrmtry share/locale/nb_NO/LC_MESSAGES
25
%%NLS%%@dirrmtry share/locale/nb_NO/LC_MESSAGES

Return to bug 129594