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

(-)b/devel/diffuse/Makefile (-7 / +8 lines)
Lines 2-9 Link Here
2
# $FreeBSD: devel/diffuse/Makefile 316464 2013-04-24 18:10:30Z ak $
2
# $FreeBSD: devel/diffuse/Makefile 316464 2013-04-24 18:10:30Z ak $
3
3
4
PORTNAME=	diffuse
4
PORTNAME=	diffuse
5
PORTVERSION=	0.4.6
5
PORTVERSION=	0.4.7
6
PORTREVISION=	3
7
CATEGORIES=	devel python
6
CATEGORIES=	devel python
8
MASTER_SITES=	SF
7
MASTER_SITES=	SF
9
8
Lines 28-34 OPTIONS_DEFINE= DATA DOCS MENU NLS Link Here
28
DATA_DESC=	Enable syntax highlighting support
27
DATA_DESC=	Enable syntax highlighting support
29
MENU_DESC=	Enable a desktop program menu entry
28
MENU_DESC=	Enable a desktop program menu entry
30
29
31
OPTIONS_DEFAULT=	DATA MENU
30
OPTIONS_DEFAULT=DATA MENU
32
31
33
.include <bsd.port.options.mk>
32
.include <bsd.port.options.mk>
34
33
Lines 37-43 PORTDATA= syntax Link Here
37
.endif
36
.endif
38
37
39
.if ${PORT_OPTIONS:MMENU}
38
.if ${PORT_OPTIONS:MMENU}
40
USE_GNOME+=	desktopfileutils
39
USES+=		desktop-file-utils
41
PLIST_SUB+=	MENU=""
40
PLIST_SUB+=	MENU=""
42
.else
41
.else
43
PLIST_SUB+=	MENU="@comment "
42
PLIST_SUB+=	MENU="@comment "
Lines 45-52 PLIST_SUB+= MENU="@comment " Link Here
45
44
46
.if ${PORT_OPTIONS:MNLS}
45
.if ${PORT_OPTIONS:MNLS}
47
USES+=		gettext
46
USES+=		gettext
48
TRANSLATIONS=	de es it ja ko ru zh_CN
47
TRANSLATIONS=	cs de es it ja ko pl ru zh_CN
49
MANLANG=	"" it ru
48
MANLANG=	"" cs it ru
50
PLIST_SUB+=	NLS=""
49
PLIST_SUB+=	NLS=""
51
.else
50
.else
52
PLIST_SUB+=	NLS="@comment "
51
PLIST_SUB+=	NLS="@comment "
Lines 76-92 post-install: Link Here
76
	(cd ${WRKSRC}/src/usr/share/${PORTNAME} && \
75
	(cd ${WRKSRC}/src/usr/share/${PORTNAME} && \
77
		${COPYTREE_SHARE} \* ${DATADIR})
76
		${COPYTREE_SHARE} \* ${DATADIR})
78
.endif
77
.endif
78
79
.if ${PORT_OPTIONS:MDOCS}
79
.if ${PORT_OPTIONS:MDOCS}
80
	${MKDIR} ${DOCSDIR}
80
	${MKDIR} ${DOCSDIR}
81
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
81
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
82
.endif
82
.endif
83
83
.if ${PORT_OPTIONS:MMENU}
84
.if ${PORT_OPTIONS:MMENU}
84
	${INSTALL_DATA} ${WRKSRC}/src/usr/share/pixmaps/${PORTNAME}.png \
85
	${INSTALL_DATA} ${WRKSRC}/src/usr/share/pixmaps/${PORTNAME}.png \
85
		${PREFIX}/share/pixmaps/
86
		${PREFIX}/share/pixmaps/
86
	${INSTALL_DATA} ${WRKSRC}/src/usr/share/applications/*.desktop \
87
	${INSTALL_DATA} ${WRKSRC}/src/usr/share/applications/*.desktop \
87
		${DESKTOPDIR}
88
		${DESKTOPDIR}
88
	${LOCALBASE}/bin/update-desktop-database -q
89
.endif
89
.endif
90
90
.if ${PORT_OPTIONS:MNLS}
91
.if ${PORT_OPTIONS:MNLS}
91
.for x in ${TRANSLATIONS}
92
.for x in ${TRANSLATIONS}
92
	${MKDIR} ${WRKSRC}/translations/${x}
93
	${MKDIR} ${WRKSRC}/translations/${x}
(-)b/devel/diffuse/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (diffuse-0.4.6.tar.bz2) = 748922902573de316a4829f1ccc2cb6fab218b4aaf69a1a4aadba7fd8f8fd916
1
SHA256 (diffuse-0.4.7.tar.bz2) = b0f56acbd246f4b9a692ef51aab167134ae6650423a68d8e5f4ff4c8938f39ac
2
SIZE (diffuse-0.4.6.tar.bz2) = 170246
2
SIZE (diffuse-0.4.7.tar.bz2) = 189257
(-)b/devel/diffuse/pkg-plist (-2 / +6 lines)
Lines 2-15 bin/diffuse Link Here
2
etc/diffuserc
2
etc/diffuserc
3
%%MENU%%share/applications/diffuse.desktop
3
%%MENU%%share/applications/diffuse.desktop
4
%%MENU%%share/pixmaps/diffuse.png
4
%%MENU%%share/pixmaps/diffuse.png
5
%%NLS%%share/locale/cs/LC_MESSAGES/diffuse.mo
5
%%NLS%%share/locale/de/LC_MESSAGES/diffuse.mo
6
%%NLS%%share/locale/de/LC_MESSAGES/diffuse.mo
6
%%NLS%%share/locale/es/LC_MESSAGES/diffuse.mo
7
%%NLS%%share/locale/es/LC_MESSAGES/diffuse.mo
7
%%NLS%%share/locale/it/LC_MESSAGES/diffuse.mo
8
%%NLS%%share/locale/it/LC_MESSAGES/diffuse.mo
8
%%NLS%%share/locale/ja/LC_MESSAGES/diffuse.mo
9
%%NLS%%share/locale/ja/LC_MESSAGES/diffuse.mo
9
%%NLS%%share/locale/ko/LC_MESSAGES/diffuse.mo
10
%%NLS%%share/locale/ko/LC_MESSAGES/diffuse.mo
11
%%NLS%%share/locale/pl/LC_MESSAGES/diffuse.mo
10
%%NLS%%share/locale/ru/LC_MESSAGES/diffuse.mo
12
%%NLS%%share/locale/ru/LC_MESSAGES/diffuse.mo
11
%%NLS%%share/locale/zh_CN/LC_MESSAGES/diffuse.mo
13
%%NLS%%share/locale/zh_CN/LC_MESSAGES/diffuse.mo
12
@dirrmtry man/ru/man1
14
@dirrmtry man/cs/man1
13
@dirrmtry man/ru
15
@dirrmtry man/cs
14
@dirrmtry man/it/man1
16
@dirrmtry man/it/man1
15
@dirrmtry man/it
17
@dirrmtry man/it
18
@dirrmtry man/ru/man1
19
@dirrmtry man/ru

Return to bug 178625