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} |