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

Collapse All | Expand All

(-)b/russian/emkatic/Makefile (-5 / +17 lines)
Lines 2-9 Link Here
2
# $FreeBSD: head/russian/emkatic/Makefile 393766 2015-08-09 08:06:43Z acm $
2
# $FreeBSD: head/russian/emkatic/Makefile 393766 2015-08-09 08:06:43Z acm $
3
3
4
PORTNAME=	emkatic
4
PORTNAME=	emkatic
5
PORTVERSION=	0.20
5
PORTVERSION=	0.24
6
PORTREVISION=	3
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 17-23 Link Here
17
BUILD_DEPENDS=	lazbuild:${PORTSDIR}/editors/lazarus \
16
BUILD_DEPENDS=	lazbuild:${PORTSDIR}/editors/lazarus \
18
		fpcres:${PORTSDIR}/lang/fpc-utils
17
		fpcres:${PORTSDIR}/lang/fpc-utils
19
18
20
USE_FPC=	yes
19
USE_FPC=	cairo fcl-base fcl-image fcl-json fcl-process \
20
		hash pasjpeg paszlib x11
21
WANT_GNOME=	yes
21
WANT_GNOME=	yes
22
22
23
PROJECT_FILE=	emkatic.lpi
23
PROJECT_FILE=	emkatic.lpi
Lines 27-39 Link Here
27
LCL_UNITS_DIR=	${LAZARUS_DIR}/lcl/units/${BUILDNAME}
27
LCL_UNITS_DIR=	${LAZARUS_DIR}/lcl/units/${BUILDNAME}
28
28
29
PLIST_FILES=	bin/${PORTNAME}
29
PLIST_FILES=	bin/${PORTNAME}
30
PORTDOCS=	CHANGELOG.txt
30
PORTDATA=	*
31
PORTDOCS=	CHANGELOG.*.txt README.txt
31
32
32
OPTIONS_DEFINE=		DOCS PORTAUDIO
33
OPTIONS_DEFINE=		BEEP DOCS PORTAUDIO
33
OPTIONS_SINGLE=		GUI
34
OPTIONS_SINGLE=		GUI
34
OPTIONS_SINGLE_GUI=	GTK2 QT4
35
OPTIONS_SINGLE_GUI=	GTK2 QT4
35
OPTIONS_DEFAULT=	GTK2 PORTAUDIO
36
OPTIONS_DEFAULT=	GTK2 PORTAUDIO
36
37
38
BEEP_DESC=	PC speaker sound output support through audio/beep
37
GTK2_DESC=	Build with GTK+ 2 interface
39
GTK2_DESC=	Build with GTK+ 2 interface
38
QT4_DESC=	Build with Qt 4 interface
40
QT4_DESC=	Build with Qt 4 interface
39
41
Lines 41-46 Link Here
41
43
42
.include <bsd.port.pre.mk>
44
.include <bsd.port.pre.mk>
43
45
46
.if ${PORT_OPTIONS:MBEEP}
47
RUN_DEPENDS+=	beep:${PORTSDIR}/audio/beep
48
.endif
49
44
.if ${PORT_OPTIONS:MGTK2}
50
.if ${PORT_OPTIONS:MGTK2}
45
USE_FPC+=	gtk2
51
USE_FPC+=	gtk2
46
USE_GNOME=	gtk20
52
USE_GNOME=	gtk20
Lines 54-65 Link Here
54
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
55
.endif
61
.endif
56
62
63
pre-patch:
64
	${CP} ${WRKSRC}/locale/README.txt ${WRKSRC}/
65
57
do-build:
66
do-build:
58
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
67
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
59
		${LAZBUILD_CMD} --ws="${LCL_PLATFORM}" --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE}
68
		${LAZBUILD_CMD} --ws="${LCL_PLATFORM}" --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE}
60
69
61
do-install:
70
do-install:
62
	${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/
63
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
75
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
64
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
76
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
65
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