Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2015 09:25:39 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383714 - head/russian/emkatic
Message-ID:  <201504100925.t3A9Pd9Q082866@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Apr 10 09:25:38 2015
New Revision: 383714
URL: https://svnweb.freebsd.org/changeset/ports/383714

Log:
  - Update to version 0.20 and install CHANGELOG.txt file
  - Add missing LCL_UNITS_DIR assignment (otherwise port was not buildable
    both locally and in tinderbox)
  - Rename rather vague LCL (Lazarus Component Library) option to GUI as it
    better reflects its usage and comes with nice default description
  - Rephrase {GTK2|QT4}_DESC and spell GTK+ and Qt correctly
  - Sanitize installation target recipe and improve port description text
  
  PR:	199260

Modified:
  head/russian/emkatic/Makefile
  head/russian/emkatic/distinfo
  head/russian/emkatic/pkg-descr

Modified: head/russian/emkatic/Makefile
==============================================================================
--- head/russian/emkatic/Makefile	Fri Apr 10 08:58:42 2015	(r383713)
+++ head/russian/emkatic/Makefile	Fri Apr 10 09:25:38 2015	(r383714)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	emkatic
-PORTVERSION=	0.17
-PORTREVISION=	1
+PORTVERSION=	0.20
 CATEGORIES=	russian emulators
 MASTER_SITES=	SF/${PORTNAME}/eMKatic%20Source
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
@@ -24,18 +23,18 @@ PROJECT_FILE=	emkatic.lpi
 LAZARUS_VER=	1.2.6
 LAZBUILD_CMD=	${LOCALBASE}/bin/lazbuild -d --pcp=${WRKSRC}/tmppcp
 LAZARUS_DIR=	${LOCALBASE}/share/lazarus-${LAZARUS_VER}
-#BUILD_MODE=	SrcDist
+LCL_UNITS_DIR=	${LAZARUS_DIR}/lcl/units/${BUILDNAME}
 
 PLIST_FILES=	bin/${PORTNAME}
+PORTDOCS=	CHANGELOG.txt
 
-OPTIONS_DEFINE=		PORTAUDIO
-OPTIONS_SINGLE=		LCL
-OPTIONS_SINGLE_LCL=	GTK2 QT4
+OPTIONS_DEFINE=		DOCS PORTAUDIO
+OPTIONS_SINGLE=		GUI
+OPTIONS_SINGLE_GUI=	GTK2 QT4
+OPTIONS_DEFAULT=	GTK2 PORTAUDIO
 
-GTK2_DESC=		Use gtk20 interface
-QT4_DESC=		Use qt4 interface
-
-OPTIONS_DEFAULT=        PORTAUDIO GTK2
+GTK2_DESC=	Build with GTK+ 2 interface
+QT4_DESC=	Build with Qt 4 interface
 
 PORTAUDIO_RUN_DEPENDS=	${LOCALBASE}/lib/portaudio2/libportaudio.so.2:${PORTSDIR}/audio/portaudio2
 
@@ -59,7 +58,8 @@ do-build:
 		${LAZBUILD_CMD} --ws="${LCL_PLATFORM}" --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE}
 
 do-install:
-	@cd ${WRKSRC} && \
-		${INSTALL_PROGRAM} emkatic ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.post.mk>

Modified: head/russian/emkatic/distinfo
==============================================================================
--- head/russian/emkatic/distinfo	Fri Apr 10 08:58:42 2015	(r383713)
+++ head/russian/emkatic/distinfo	Fri Apr 10 09:25:38 2015	(r383714)
@@ -1,2 +1,2 @@
-SHA256 (emkatic-0.17-src.tar.gz) = 2ccda05bbd5caf0b2dccb19b4238d0d5c050012a3aef57a442321b5552681df2
-SIZE (emkatic-0.17-src.tar.gz) = 382119
+SHA256 (emkatic-0.20-src.tar.gz) = c2a73130d13eaeaf3f60b54dff8d0f24259a7099246a03f454101994f5bfbab2
+SIZE (emkatic-0.20-src.tar.gz) = 388569

Modified: head/russian/emkatic/pkg-descr
==============================================================================
--- head/russian/emkatic/pkg-descr	Fri Apr 10 08:58:42 2015	(r383713)
+++ head/russian/emkatic/pkg-descr	Fri Apr 10 09:25:38 2015	(r383714)
@@ -1,6 +1,6 @@
-Cross-platform emulator of Elektronika RPN programmable calculator
-series (MK-152, MK-152M, MK-1152, MK-161).
+eMKatic is a cross-platform emulator of Elektronika RPN programmable
+calculator series (MK-152, MK-152M, MK-1152, MK-161).
 
-Only supports cyrillic user interface.
+Only Cyrillic user interface is supported.
 
 WWW: http://sourceforge.net/projects/emkatic/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504100925.t3A9Pd9Q082866>