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

Collapse All | Expand All

(-)b/russian/emkatic/Makefile (-4 / +17 lines)
Lines 2-9 Link Here
2
# $FreeBSD: head/russian/emkatic/Makefile 387982 2015-05-30 20:39:12Z bapt $
2
# $FreeBSD: head/russian/emkatic/Makefile 387982 2015-05-30 20:39:12Z bapt $
3
3
4
PORTNAME=	emkatic
4
PORTNAME=	emkatic
5
PORTVERSION=	0.20
5
PORTVERSION=	0.23
6
PORTREVISION=	2
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 27-46 Link Here
27
LCL_UNITS_DIR=	${LAZARUS_DIR}/lcl/units/${BUILDNAME}
26
LCL_UNITS_DIR=	${LAZARUS_DIR}/lcl/units/${BUILDNAME}
28
27
29
PLIST_FILES=	bin/${PORTNAME}
28
PLIST_FILES=	bin/${PORTNAME}
30
PORTDOCS=	CHANGELOG.txt
29
PORTDATA=	*
30
PORTDOCS=	CHANGELOG.txt README.txt
31
31
32
OPTIONS_DEFINE=		DOCS PORTAUDIO
32
OPTIONS_DEFINE=		BEEP DOCS PORTAUDIO
33
OPTIONS_SINGLE=		GUI
33
OPTIONS_SINGLE=		GUI
34
OPTIONS_SINGLE_GUI=	GTK2 QT4
34
OPTIONS_SINGLE_GUI=	GTK2 QT4
35
OPTIONS_DEFAULT=	GTK2 PORTAUDIO
35
OPTIONS_DEFAULT=	GTK2 PORTAUDIO
36
36
37
BEEP_DESC=	PC speaker sound output support through audio/beep
37
GTK2_DESC=	Build with GTK+ 2 interface
38
GTK2_DESC=	Build with GTK+ 2 interface
38
QT4_DESC=	Build with Qt 4 interface
39
QT4_DESC=	Build with Qt 4 interface
39
40
40
PORTAUDIO_LIB_DEPENDS=	libportaudio.so:${PORTSDIR}/audio/portaudio
41
PORTAUDIO_LIB_DEPENDS=	libportaudio.so:${PORTSDIR}/audio/portaudio
41
42
43
SUB_FILES=	README.txt
44
42
.include <bsd.port.pre.mk>
45
.include <bsd.port.pre.mk>
43
46
47
.if ${PORT_OPTIONS:MBEEP}
48
RUN_DEPENDS+=	beep:${PORTSDIR}/audio/beep
49
.endif
50
44
.if ${PORT_OPTIONS:MGTK2}
51
.if ${PORT_OPTIONS:MGTK2}
45
USE_FPC+=	gtk2
52
USE_FPC+=	gtk2
46
USE_GNOME=	gtk20
53
USE_GNOME=	gtk20
Lines 54-65 Link Here
54
BUILD_DEPENDS+=	${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-qt
61
BUILD_DEPENDS+=	${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-qt
55
.endif
62
.endif
56
63
64
pre-install:
65
	${CP} ${WRKDIR}/README.txt ${WRKSRC}
66
57
do-build:
67
do-build:
58
	@cd ${WRKSRC} && \
68
	@cd ${WRKSRC} && \
59
		${LAZBUILD_CMD} --ws="${LCL_PLATFORM}" --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE}
69
		${LAZBUILD_CMD} --ws="${LCL_PLATFORM}" --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE}
60
70
61
do-install:
71
do-install:
62
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
72
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
73
	@${MKDIR} ${STAGEDIR}${DATADIR}/locale
74
	${INSTALL_DATA} ${WRKSRC}/locale/*.po \
75
		${STAGEDIR}${DATADIR}/locale/
63
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
76
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
64
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
77
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
65
78
(-)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.23-src.tar.gz) = 1d939073490804fac8831e053989e14188d4f31d293792be53938b1eebf486d7
2
SIZE (emkatic-0.20-src.tar.gz) = 388569
2
SIZE (emkatic-0.23-src.tar.gz) = 501352
(-)b/russian/emkatic/files/README.txt.in (+19 lines)
Added Link Here
1
Sound an eternal program
2
============================================
3
4
External program audio/beep (need load and confugured speaker, see Speaker sound)
5
6
At the setting of the emulator should specify:
7
8
beep -p <Hz> <cs>
9
10
beep -p 1 0
11
12
Localisation
13
============================================
14
15
Files for localization available in %%PREFIX%%/share/emkatic/locale/
16
For activate, select a corresponding pair of files and specify as an argument 
17
on the command line or drag them into the main window, and restart the 
18
emulator. Needed two files: emkatic.xx.po and lclstrconsts.xx.po, where xx is 
19
the language identifier.
(-)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