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

Collapse All | Expand All

(-)b/russian/emkatic/Makefile (-4 / +15 lines)
Lines 2-9 Link Here
2
# $FreeBSD: head/russian/emkatic/Makefile 394802 2015-08-19 17:13:59Z acm $
2
# $FreeBSD: head/russian/emkatic/Makefile 394802 2015-08-19 17:13:59Z acm $
3
3
4
PORTNAME=	emkatic
4
PORTNAME=	emkatic
5
PORTVERSION=	0.20
5
PORTVERSION=	0.24
6
PORTREVISION=	4
7
CATEGORIES=	russian emulators
6
CATEGORIES=	russian emulators
8
MASTER_SITES=	SF/${PORTNAME}/eMKatic%20Source
7
MASTER_SITES=	SF/${PORTNAME}/eMKatic%20Source
9
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
8
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
Lines 28-40 Link Here
28
LCL_UNITS_DIR=	${LAZARUS_DIR}/lcl/units/${BUILDNAME}
27
LCL_UNITS_DIR=	${LAZARUS_DIR}/lcl/units/${BUILDNAME}
29
28
30
PLIST_FILES=	bin/${PORTNAME}
29
PLIST_FILES=	bin/${PORTNAME}
31
PORTDOCS=	CHANGELOG.txt
30
PORTDATA=	*
31
PORTDOCS=	CHANGELOG.*.txt README.txt
32
32
33
OPTIONS_DEFINE=		DOCS PORTAUDIO
33
OPTIONS_DEFINE=		BEEP DOCS PORTAUDIO
34
OPTIONS_SINGLE=		GUI
34
OPTIONS_SINGLE=		GUI
35
OPTIONS_SINGLE_GUI=	GTK2 QT4
35
OPTIONS_SINGLE_GUI=	GTK2 QT4
36
OPTIONS_DEFAULT=	GTK2 PORTAUDIO
36
OPTIONS_DEFAULT=	GTK2 PORTAUDIO
37
37
38
BEEP_DESC=	PC speaker sound output support through audio/beep
38
GTK2_DESC=	Build with GTK+ 2 interface
39
GTK2_DESC=	Build with GTK+ 2 interface
39
QT4_DESC=	Build with Qt 4 interface
40
QT4_DESC=	Build with Qt 4 interface
40
41
Lines 42-47 Link Here
42
43
43
.include <bsd.port.pre.mk>
44
.include <bsd.port.pre.mk>
44
45
46
.if ${PORT_OPTIONS:MBEEP}
47
RUN_DEPENDS+=	beep:${PORTSDIR}/audio/beep
48
.endif
49
45
.if ${PORT_OPTIONS:MGTK2}
50
.if ${PORT_OPTIONS:MGTK2}
46
USE_FPC+=	gtk2
51
USE_FPC+=	gtk2
47
USE_GNOME=	gtk20
52
USE_GNOME=	gtk20
Lines 55-66 Link Here
55
BUILD_DEPENDS+=	${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-qt
60
BUILD_DEPENDS+=	${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-qt
56
.endif
61
.endif
57
62
63
pre-patch:
64
	${CP} ${WRKSRC}/locale/README.txt ${WRKSRC}/
65
58
do-build:
66
do-build:
59
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
67
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
60
		${LAZBUILD_CMD} --ws="${LCL_PLATFORM}" --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE}
68
		${LAZBUILD_CMD} --ws="${LCL_PLATFORM}" --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE}
61
69
62
do-install:
70
do-install:
63
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
71
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
72
	@${MKDIR} ${STAGEDIR}${DATADIR}/locale
73
	${INSTALL_DATA} ${WRKSRC}/locale/*.po \
74
		${STAGEDIR}${DATADIR}/locale/
64
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
75
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
65
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
76
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
66
77
(-)b/russian/emkatic/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (emkatic-0.20-src.tar.gz) = c2a73130d13eaeaf3f60b54dff8d0f24259a7099246a03f454101994f5bfbab2
1
SHA256 (emkatic-0.24-src.tar.gz) = 31060fd51d572a40c21f7a780a4755b850655db33504dd9175a648f66160d6dc
2
SIZE (emkatic-0.20-src.tar.gz) = 388569
2
SIZE (emkatic-0.24-src.tar.gz) = 519640
(-)b/russian/emkatic/files/patch-README.txt (+26 lines)
Added Link Here
1
--- README.txt.orig	2015-08-19 01:35:01 UTC
2
+++ README.txt
3
@@ -1,3 +1,22 @@
4
-Download the appropriate files and drag them into the main window, and restart the emulator. Needed two files: emkatic.xx.po and lclstrconsts.xx.po, where xx is the language identifier.
5
+Sound an eternal program
6
+============================================
7
+
8
+External program audio/beep (need load and confugured speaker, see Speaker sound)
9
+
10
+At the setting of the emulator should specify:
11
+
12
+beep -p <Hz> <cs>
13
+
14
+beep -p 1 0
15
 
16
+Localisation
17
+============================================
18
+
19
+Files for localization available in %%PREFIX%%/share/emkatic/locale/
20
+For activate, select a corresponding pair of files and specify as an argument 
21
+on the command line or drag them into the main window, and restart the 
22
+emulator. Needed two files: emkatic.xx.po and lclstrconsts.xx.po, where xx is 
23
+the language identifier.
24
+
25
+=============================================
26
 The PNG files is a keyboard covers (See the "View" tab in the Service window).
(-)b/russian/emkatic/pkg-descr (-1 / +2 lines)
Lines 1-6 Link Here
1
eMKatic is a cross-platform emulator of Elektronika RPN programmable
1
eMKatic is a cross-platform emulator of Elektronika RPN programmable
2
calculator series (MK-152, MK-152M, MK-1152, MK-161).
2
calculator series (MK-152, MK-152M, MK-1152, MK-161).
3
3
4
Only Cyrillic user interface is supported.
4
Cyrillic user interface enabled by default.
5
English available after localization, see the instructions README.txt
5
6
6
WWW: http://sourceforge.net/projects/emkatic/
7
WWW: http://sourceforge.net/projects/emkatic/

Return to bug 200808