Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2018 18:56:09 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458469 - head/misc/free42
Message-ID:  <201801081856.w08Iu911038020@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Jan  8 18:56:09 2018
New Revision: 458469
URL: https://svnweb.freebsd.org/changeset/ports/458469

Log:
  misc/free42: Update to 2.0.10
  
  Submitted by:	myself
  Reported by:	portscout
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D13795

Modified:
  head/misc/free42/Makefile
  head/misc/free42/distinfo

Modified: head/misc/free42/Makefile
==============================================================================
--- head/misc/free42/Makefile	Mon Jan  8 18:48:12 2018	(r458468)
+++ head/misc/free42/Makefile	Mon Jan  8 18:56:09 2018	(r458469)
@@ -1,10 +1,10 @@
 # $FreeBSD$
 
-PORTNAME=	Free42
-DISTVERSION=	2.0.7
+PORTNAME=	free42
+DISTVERSION=	2.0.10
 CATEGORIES=	misc
 MASTER_SITES=	http://thomasokken.com/free42/upstream/
-DISTNAME=	${PORTNAME:tl}-nologo-${DISTVERSION}
+DISTNAME=	${PORTNAME}-nologo-${DISTVERSION}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Simulation of the HP-42S scientific calculator and HP-82240 printer
@@ -27,21 +27,20 @@ DOS2UNIX_FILES=	gtk/IntelRDFPMathLib20U1/LIBRARY/float
 BUILD_WRKSRC=	${WRKSRC}/gtk
 
 post-extract:
-	@${RM} `${FIND} ${WRKDIR} -name "*.orig"`
 	@cd ${BUILD_WRKSRC} && tar xvfz ../inteldecimal/IntelRDFPMathLib20U1.tar.gz
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|"%s/%s.%s", free42dirname, name,|"%s/%s.%s", "${DATADIR:tl}", name,|' \
-		${BUILD_WRKSRC}/shell_skin.cc
+	@${REINPLACE_CMD} -e 's|snprintf(free42dirname, FILENAMELEN, "%s/\.free42", home)|strcpy(free42dirname, "${DATADIR}")|' \
+		${BUILD_WRKSRC}/shell_main.cc
 
 do-build:
 	@cd ${BUILD_WRKSRC} && \
 		${SETENV} ${MAKE_ENV} ${MAKE_CMD} cleaner && \
 		${SETENV} ${MAKE_ENV} ${MAKE_CMD}
-		# TODO do we need decimal fp arithmetic?: ${MAKE_CMD} BCD_MATH=1 SKIN_SYS_DIR="${DATADIR:tl}"
+		# TODO do we need decimal fp arithmetic?: ${MAKE_CMD} BCD_MATH=1 SKIN_SYS_DIR="${DATADIR}"
 
 do-install:
 	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/free42bin ${STAGEDIR}${PREFIX}/bin/
-	@cd ${WRKSRC} && ${COPYTREE_SHARE} skins ${STAGEDIR}${DATADIR:tl}
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} skins ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>

Modified: head/misc/free42/distinfo
==============================================================================
--- head/misc/free42/distinfo	Mon Jan  8 18:48:12 2018	(r458468)
+++ head/misc/free42/distinfo	Mon Jan  8 18:56:09 2018	(r458469)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1511214642
-SHA256 (free42-nologo-2.0.7.tgz) = 97241d56372163904755f8fcf7724adcaa12a2e0fbaf9670c3661c3645805ccc
-SIZE (free42-nologo-2.0.7.tgz) = 7354819
+TIMESTAMP = 1515411890
+SHA256 (free42-nologo-2.0.10.tgz) = e15c8a96643d27961b89488bd1f040a453d03349b5436077ffd3825b7cffdbc3
+SIZE (free42-nologo-2.0.10.tgz) = 7389429



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