View | Details | Raw Unified | Return to bug 185620
Collapse All | Expand All

(-)Makefile (-42 / +6 lines)
Lines 2-16 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	gigolo
4
PORTNAME=	gigolo
5
PORTVERSION=	0.4.1
5
PORTVERSION=	0.4.2
6
PORTREVISION=	1
7
CATEGORIES=	sysutils
6
CATEGORIES=	sysutils
8
MASTER_SITES=	http://files.uvena.de/gigolo/ \
7
MASTER_SITES=	${MASTER_SITE_XFCE}
9
		http://www.uvena.de/gigolo/:icons
8
MASTER_SITE_SUBDIR=	src/apps/${PORTNAME}/${PORTVERSION:R}
10
DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
11
		network.png:icons
12
DIST_SUBDIR=	${PORTNAME}
13
EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
14
9
15
MAINTAINER=	nemysis@FreeBSD.org
10
MAINTAINER=	nemysis@FreeBSD.org
16
COMMENT=	Frontend to easily manage filesystem connections
11
COMMENT=	Frontend to easily manage filesystem connections
Lines 20-62 Link Here
20
BUILD_DEPENDS=	p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
15
BUILD_DEPENDS=	p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
21
16
22
USE_BZIP2=	yes
17
USE_BZIP2=	yes
23
USES=		fuse pkgconfig
18
GNU_CONFIGURE=	yes
24
USE_GNOME=	cairo gtk20 gvfs
19
USES=		fuse pkgconfig gmake gettext
20
USE_GNOME=	cairo gtk20 gvfs glib20 intltool intlhack
25
USE_XORG=	x11
21
USE_XORG=	x11
26
USE_PYTHON=	yes
27
28
PORTDOCS=	AUTHORS ChangeLog NEWS README TODO
29
OPTIONS_SUB=	yes
30
31
OPTIONS_DEFINE=	DOCS NLS
32
33
NLS_USES=	gettext
34
22
35
ONLY_FOR_ARCHS=	i386 amd64
23
ONLY_FOR_ARCHS=	i386 amd64
36
ONLY_FOR_ARCHS_REASON=	Does not compile
24
ONLY_FOR_ARCHS_REASON=	Does not compile
37
25
38
.include <bsd.port.options.mk>
39
40
post-patch:
41
	${REINPLACE_CMD} -e 's|bld.install_files|#bld.install_files|' ${WRKSRC}/wscript
42
43
.if ! ${PORT_OPTIONS:MNLS}
44
	${REINPLACE_CMD} -e "s|= 'po'|= ''|" ${WRKSRC}/wscript
45
.endif
46
47
do-configure:
48
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf configure --prefix=${STAGEDIR}${PREFIX} \
49
		--mandir=${STAGEDIR}${MANPREFIX}/man
50
51
do-build:
52
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf build
53
54
do-install:
55
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf install
56
	${INSTALL_DATA} ${_DISTDIR}/network.png \
57
		${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
58
59
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
60
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
61
62
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)distinfo (-4 / +2 lines)
Lines 1-4 Link Here
1
SHA256 (gigolo/gigolo-0.4.1.tar.bz2) = 82f3b5f0ce3ff19c1facac1c89117d67bdf1d4fac66e42fb7a98a8b0d74a17f9
1
SHA256 (gigolo-0.4.2.tar.bz2) = 553fc78fe4e7bd2f01f3851baea7e63f6414fe652dfb4b08c60b5c4b2b909164
2
SIZE (gigolo/gigolo-0.4.1.tar.bz2) = 194112
2
SIZE (gigolo-0.4.2.tar.bz2) = 243877
3
SHA256 (gigolo/network.png) = c2307b0ac5b091fefd8d09fa83eae9bae236096d84de31c49a455bfc583807c6
4
SIZE (gigolo/network.png) = 5689
(-)files/patch-configure (+11 lines)
Line 0 Link Here
1
--- ./configure.orig	2014-01-09 19:58:21.000000000 +0000
2
+++ ./configure	2014-01-09 22:36:48.000000000 +0000
3
@@ -6191,7 +6191,7 @@
4
 else
5
 
6
     if test x"$CATOBJEXT" = x".mo"; then
7
-      localedir=$libdir/locale
8
+      localedir=$datadir/locale
9
     else
10
       localedir=$datadir/locale
11
     fi
(-)files/patch-po__Makefile.in.in (+31 lines)
Line 0 Link Here
1
--- ./po/Makefile.in.in.orig	2014-01-09 19:58:20.000000000 +0000
2
+++ ./po/Makefile.in.in	2014-01-09 22:29:42.000000000 +0000
3
@@ -34,7 +34,7 @@
4
 datarootdir = @datarootdir@
5
 libdir = @libdir@
6
 DATADIRNAME = @DATADIRNAME@
7
-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
8
+localedir = @localedir@
9
 subdir = po
10
 install_sh = @install_sh@
11
 # Automake >= 1.8 provides @mkdir_p@.
12
@@ -109,7 +109,7 @@
13
 install-data-yes: all
14
 	linguas="$(USE_LINGUAS)"; \
15
 	for lang in $$linguas; do \
16
-	  dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
17
+	  dir=$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \
18
 	  $(mkdir_p) $$dir; \
19
 	  if test -r $$lang.gmo; then \
20
 	    $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
21
@@ -143,8 +143,8 @@
22
 uninstall:
23
 	linguas="$(USE_LINGUAS)"; \
24
 	for lang in $$linguas; do \
25
-	  rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
26
-	  rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
27
+	  rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
28
+	  rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
29
 	done
30
 
31
 check: all $(GETTEXT_PACKAGE).pot
(-)pkg-plist (-43 / +64 lines)
Lines 1-46 Link Here
1
bin/gigolo
1
bin/gigolo
2
man/man1/gigolo.1.gz
2
man/man1/gigolo.1.gz
3
share/applications/gigolo.desktop
3
share/applications/gigolo.desktop
4
%%NLS%%share/locale/ast/LC_MESSAGES/gigolo.mo
4
%%DOCSDIR%%/AUTHORS
5
%%NLS%%share/locale/bg/LC_MESSAGES/gigolo.mo
5
%%DOCSDIR%%/COPYING
6
%%NLS%%share/locale/ca/LC_MESSAGES/gigolo.mo
6
%%DOCSDIR%%/ChangeLog
7
%%NLS%%share/locale/cs/LC_MESSAGES/gigolo.mo
7
%%DOCSDIR%%/NEWS
8
%%NLS%%share/locale/da/LC_MESSAGES/gigolo.mo
8
%%DOCSDIR%%/README
9
%%NLS%%share/locale/de/LC_MESSAGES/gigolo.mo
9
%%DOCSDIR%%/TODO
10
%%NLS%%share/locale/el/LC_MESSAGES/gigolo.mo
10
share/locale/ar/LC_MESSAGES/gigolo.mo
11
%%NLS%%share/locale/es/LC_MESSAGES/gigolo.mo
11
share/locale/ast/LC_MESSAGES/gigolo.mo
12
%%NLS%%share/locale/eu/LC_MESSAGES/gigolo.mo
12
share/locale/bg/LC_MESSAGES/gigolo.mo
13
%%NLS%%share/locale/fi/LC_MESSAGES/gigolo.mo
13
share/locale/ca/LC_MESSAGES/gigolo.mo
14
%%NLS%%share/locale/fr/LC_MESSAGES/gigolo.mo
14
share/locale/cs/LC_MESSAGES/gigolo.mo
15
%%NLS%%share/locale/gl/LC_MESSAGES/gigolo.mo
15
share/locale/de/LC_MESSAGES/gigolo.mo
16
%%NLS%%share/locale/hr/LC_MESSAGES/gigolo.mo
16
share/locale/el/LC_MESSAGES/gigolo.mo
17
%%NLS%%share/locale/hu/LC_MESSAGES/gigolo.mo
17
share/locale/en_AU/LC_MESSAGES/gigolo.mo
18
%%NLS%%share/locale/id/LC_MESSAGES/gigolo.mo
18
share/locale/eo/LC_MESSAGES/gigolo.mo
19
%%NLS%%share/locale/it/LC_MESSAGES/gigolo.mo
19
share/locale/es/LC_MESSAGES/gigolo.mo
20
%%NLS%%share/locale/ja/LC_MESSAGES/gigolo.mo
20
share/locale/eu/LC_MESSAGES/gigolo.mo
21
%%NLS%%share/locale/kk/LC_MESSAGES/gigolo.mo
21
share/locale/fi/LC_MESSAGES/gigolo.mo
22
%%NLS%%share/locale/lv/LC_MESSAGES/gigolo.mo
22
share/locale/fr/LC_MESSAGES/gigolo.mo
23
%%NLS%%share/locale/nl/LC_MESSAGES/gigolo.mo
23
share/locale/gl/LC_MESSAGES/gigolo.mo
24
%%NLS%%share/locale/pl/LC_MESSAGES/gigolo.mo
24
share/locale/he/LC_MESSAGES/gigolo.mo
25
%%NLS%%share/locale/pt/LC_MESSAGES/gigolo.mo
25
share/locale/hr/LC_MESSAGES/gigolo.mo
26
%%NLS%%share/locale/pt_BR/LC_MESSAGES/gigolo.mo
26
share/locale/hu/LC_MESSAGES/gigolo.mo
27
%%NLS%%share/locale/ru/LC_MESSAGES/gigolo.mo
27
share/locale/id/LC_MESSAGES/gigolo.mo
28
%%NLS%%share/locale/sk/LC_MESSAGES/gigolo.mo
28
share/locale/is/LC_MESSAGES/gigolo.mo
29
%%NLS%%share/locale/sv/LC_MESSAGES/gigolo.mo
29
share/locale/it/LC_MESSAGES/gigolo.mo
30
%%NLS%%share/locale/tr/LC_MESSAGES/gigolo.mo
30
share/locale/ja/LC_MESSAGES/gigolo.mo
31
%%NLS%%share/locale/ug/LC_MESSAGES/gigolo.mo
31
share/locale/kk/LC_MESSAGES/gigolo.mo
32
%%NLS%%share/locale/uk/LC_MESSAGES/gigolo.mo
32
share/locale/ko/LC_MESSAGES/gigolo.mo
33
%%NLS%%share/locale/ur/LC_MESSAGES/gigolo.mo
33
share/locale/lt/LC_MESSAGES/gigolo.mo
34
%%NLS%%share/locale/ur_PK/LC_MESSAGES/gigolo.mo
34
share/locale/lv/LC_MESSAGES/gigolo.mo
35
%%NLS%%share/locale/zh_CN/LC_MESSAGES/gigolo.mo
35
share/locale/nl/LC_MESSAGES/gigolo.mo
36
share/pixmaps/gigolo.png
36
share/locale/oc/LC_MESSAGES/gigolo.mo
37
%%NLS%%@dirrmtry share/locale/ur_PK/LC_MESSAGES
37
share/locale/pl/LC_MESSAGES/gigolo.mo
38
%%NLS%%@dirrmtry share/locale/ur_PK
38
share/locale/pt/LC_MESSAGES/gigolo.mo
39
%%NLS%%@dirrmtry share/locale/ur/LC_MESSAGES
39
share/locale/pt_BR/LC_MESSAGES/gigolo.mo
40
%%NLS%%@dirrmtry share/locale/ur
40
share/locale/ru/LC_MESSAGES/gigolo.mo
41
%%NLS%%@dirrmtry share/locale/ug/LC_MESSAGES
41
share/locale/sk/LC_MESSAGES/gigolo.mo
42
%%NLS%%@dirrmtry share/locale/ug
42
share/locale/sl/LC_MESSAGES/gigolo.mo
43
%%NLS%%@dirrmtry share/locale/kk/LC_MESSAGES
43
share/locale/sr/LC_MESSAGES/gigolo.mo
44
%%NLS%%@dirrmtry share/locale/kk
44
share/locale/sv/LC_MESSAGES/gigolo.mo
45
%%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES
45
share/locale/te/LC_MESSAGES/gigolo.mo
46
%%NLS%%@dirrmtry share/locale/ast
46
share/locale/tr/LC_MESSAGES/gigolo.mo
47
share/locale/ug/LC_MESSAGES/gigolo.mo
48
share/locale/uk/LC_MESSAGES/gigolo.mo
49
share/locale/ur/LC_MESSAGES/gigolo.mo
50
share/locale/ur_PK/LC_MESSAGES/gigolo.mo
51
share/locale/zh_CN/LC_MESSAGES/gigolo.mo
52
share/locale/zh_TW/LC_MESSAGES/gigolo.mo
53
@dirrmtry share/locale/ur_PK/LC_MESSAGES
54
@dirrmtry share/locale/ur_PK
55
@dirrmtry share/locale/ur/LC_MESSAGES
56
@dirrmtry share/locale/ur
57
@dirrmtry share/locale/ug/LC_MESSAGES
58
@dirrmtry share/locale/ug
59
@dirrmtry share/locale/te/LC_MESSAGES
60
@dirrmtry share/locale/te
61
@dirrmtry share/locale/oc/LC_MESSAGES
62
@dirrmtry share/locale/oc
63
@dirrmtry share/locale/kk/LC_MESSAGES
64
@dirrmtry share/locale/kk
65
@dirrmtry share/locale/ast/LC_MESSAGES
66
@dirrmtry share/locale/ast
67
@dirrm %%DOCSDIR%%

Return to bug 185620