aboutsummaryrefslogtreecommitdiff
path: root/russian/emkatic
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2018-05-25 16:31:21 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2018-05-25 16:31:21 +0000
commitae635a951dd3d7170fad43cfc661de04960c82cd (patch)
tree7c23ab9b803bf454a97a095273ff2657ce4bd550 /russian/emkatic
parent18e742ef3b4ebc577e401c01a2cb4d2a41880d07 (diff)
downloadports-ae635a951dd3d7170fad43cfc661de04960c82cd.tar.gz
ports-ae635a951dd3d7170fad43cfc661de04960c82cd.zip
Notes
Diffstat (limited to 'russian/emkatic')
-rw-r--r--russian/emkatic/Makefile46
-rw-r--r--russian/emkatic/distinfo6
2 files changed, 19 insertions, 33 deletions
diff --git a/russian/emkatic/Makefile b/russian/emkatic/Makefile
index 04e149fa8a49..6a602c99a400 100644
--- a/russian/emkatic/Makefile
+++ b/russian/emkatic/Makefile
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= emkatic
-PORTVERSION= 0.28
-PORTREVISION= 3
+PORTVERSION= 0.36
CATEGORIES= russian emulators
+PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
MASTER_SITES= SF/${PORTNAME}/eMKatic%20Source
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
@@ -14,44 +14,30 @@ COMMENT= Emulator of Elektronika RPN programmable calculator series
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING.txt
-BUILD_DEPENDS= lazbuild:editors/lazarus \
- fpcres:lang/fpc-utils
+USES= fpc lazarus:flavors
+USE_FPC= cairo chm fcl-base fcl-image fcl-json fcl-registry fcl-xml \
+ pasjpeg regexpr rtl-extra x11
+USE_XORG= x11
-USES= fpc
-USE_FPC= cairo chm fcl-base fcl-image fcl-json fcl-xml pasjpeg rtl-extra x11
-
-PROJECT_FILE= emkatic.lpi
-LAZARUS_VER= 1.8.0
-LAZBUILD_CMD= ${LOCALBASE}/bin/lazbuild -d --pcp=${WRKSRC}/tmppcp
-LAZARUS_DIR= ${LOCALBASE}/share/lazarus-${LAZARUS_VER}
-LCL_UNITS_DIR= ${LAZARUS_DIR}/lcl/units/${BUILDNAME}
+LAZARUS_PROJECT_FILES= emkatic.lpi
+LAZBUILD_ARGS= -d --pcp=${WRKSRC}/tmppcp
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
PORTDOCS= CHANGELOG.*.txt README.*.txt
-OPTIONS_DEFINE= DOCS PORTAUDIO
-OPTIONS_SINGLE= GUI
-OPTIONS_SINGLE_GUI= GTK2 QT4
-OPTIONS_DEFAULT= GTK2 PORTAUDIO
-
-GTK2_DESC= Build with GTK+ 2 interface
-QT4_DESC= Build with Qt 4 interface
+gtk2_CONFLICTS_INSTALL= ru-${PORTNAME}-qt4 ru-${PORTNAME}-qt5
+qt4_CONFLICTS_INSTALL= ru-${PORTNAME}-gtk2 ru-${PORTNAME}-qt5
+qt5_CONFLICTS_INSTALL= ru-${PORTNAME}-gtk2 ru-${PORTNAME}-qt4
-GTK2_BUILD_DEPENDS= ${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:editors/lazarus-lcl-gtk2
-GTK2_USE= GNOME=gtk20 FPC=gtk2
-GTK2_VARS= LCL_PLATFORM=gtk2
-
-QT4_BUILD_DEPENDS= ${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:editors/lazarus-lcl-qt
-QT4_LIB_DEPENDS= libQt4Pas.so:x11-toolkits/qt4pas
-QT4_VARS= LCL_PLATFORM=qt
+OPTIONS_DEFINE= DOCS PORTAUDIO
+OPTIONS_DEFAULT= PORTAUDIO
PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio
-do-build:
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
- ${LAZBUILD_CMD} --ws="${LCL_PLATFORM}" \
- --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE}
+.if ${FLAVOR:Ugtk2:Mgtk2}
+USE_GNOME+= cairo
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
diff --git a/russian/emkatic/distinfo b/russian/emkatic/distinfo
index f5fda564752e..d2d73bd1663b 100644
--- a/russian/emkatic/distinfo
+++ b/russian/emkatic/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1479326115
-SHA256 (emkatic-0.28-src.tar.gz) = 449aad9358e3f3433ced59b396f3104cf1af020d13116bc0862c81526c5b256f
-SIZE (emkatic-0.28-src.tar.gz) = 573493
+TIMESTAMP = 1520360250
+SHA256 (emkatic-0.36-src.tar.gz) = 10df44162d0a31a2a23fd1a79d82e933d16add796802275cc9d3b8e797ae786a
+SIZE (emkatic-0.36-src.tar.gz) = 665151