Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2014 23:54:32 +0000 (UTC)
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348906 - in head/portuguese/irpf-pt_BR: . files
Message-ID:  <201403232354.s2NNsWj6067358@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lioux
Date: Sun Mar 23 23:54:31 2014
New Revision: 348906
URL: http://svnweb.freebsd.org/changeset/ports/348906
QAT: https://qat.redports.org/buildarchive/r348906/

Log:
  Update to 1.0 version from 2014: Programa do Imposto de Renda Pessoa Fisica 2014 versao Java
  
  Approved by:	bdrewery (mentor)

Modified:
  head/portuguese/irpf-pt_BR/Makefile
  head/portuguese/irpf-pt_BR/distinfo
  head/portuguese/irpf-pt_BR/files/wrapper.sh

Modified: head/portuguese/irpf-pt_BR/Makefile
==============================================================================
--- head/portuguese/irpf-pt_BR/Makefile	Sun Mar 23 23:50:06 2014	(r348905)
+++ head/portuguese/irpf-pt_BR/Makefile	Sun Mar 23 23:54:31 2014	(r348906)
@@ -2,18 +2,23 @@
 # $FreeBSD$
 
 PORTNAME=	irpf
-PORTVERSION=	2010.1.0
-PORTREVISION=	1
+PORTVERSION=	2014.1.0
 CATEGORIES=	portuguese finance java
-MASTER_SITES=	http://www.receita.fazenda.gov.br/publico/programas/IRPF/2010/PGDIrpf2010/Java/zip/
+MASTER_SITES=	http://www28.receita.fazenda.gov.br/publico/programas/IRPF/2014/PGDIRPF2014/Java/zip/
 PKGNAMEPREFIX?=	pt_BR-
-DISTNAME=	irpf2010-v1.0
+DISTNAME=	IRPF2014-1.0
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Programa do Imposto de Renda Pessoa Fisica 2010 versao Java
+COMMENT=	Programa do Imposto de Renda Pessoa Fisica 2014 versao Java
+
+LICENSE=	EULA
+LICENSE_NAME=	End User License Agreement
+LICENSE_FILE=	${WRKSRC}/IRPF-Licenses.txt
+LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
+LICENSE_DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
 
 USES=		zip
-WRKSRC=		${WRKDIR}/${PORTNAME}2010
+WRKSRC=		${WRKDIR}/${PORTNAME:U}2014
 
 USE_JAVA=	yes
 JAVA_RUN=	yes
@@ -27,44 +32,45 @@ JAVAVM=		${LOCALBASE}/bin/java
 
 JAR_DIR=	${JAVAJARDIR:S,^${PREFIX}/,,}/${PORTNAME}
 
-DESKTOP_ENTRIES=	"Imposto de Renda Pessoa Fisica 2010" \
+DESKTOP_ENTRIES=	"Imposto de Renda Pessoa Fisica 2014" \
 			"${COMMENT}" \
 			"" \
 			"${PORTNAME}" \
 			"Office;Finance;" \
-			"true"
+			true
 
 #
 ## Files to install
 #
 
-# images
-IMAGE_FILES=	\
-		offline.png \
-		online.png
 # jar
 JAR_FILES=	\
 		irpf.jar \
 		lib/commons-beanutils-1.7.jar \
-		lib/commons-collections-2.1.jar \
+		lib/commons-collections-3.2.1.jar \
 		lib/commons-digester-1.8.jar \
+		lib/commons-io-2.4.jar \
 		lib/commons-logging-1.0.2.jar \
 		lib/forms-1.0.3.jar \
 		lib/foxtrot.jar \
-		lib/itext-1.02b.jar \
-		lib/jasperreports-2.0.3.jar \
+		lib/freesans.jar \
+		lib/iText-2.1.0.jar \
+		lib/jasperreports-3.7.2.jar \
 		lib/jdt-compiler-3.1.1.jar \
 		lib/jhall.jar \
 		lib/looks-1.3.1.jar \
-		lib/ppgd-forms-compat-0.2.jar \
-		lib/ppgd-gui-4.0.jar \
-		lib/ppgd-gui-beans-4.0.jar \
+		lib/ppgd-formatosext-4.1.8.jar \
+		lib/ppgd-gui-beans-4.1.9.jar \
 		lib/ppgd-gui-utils-4.0.jar \
+		lib/ppgd-icones-4.0.jar \
 		lib/ppgd-infra-4.0.jar \
-		lib/ppgd-negocio-4.0.jar \
+		lib/ppgd-negocio-4.1.25.jar \
 		lib/ppgd-persistencia-4.0.jar \
 		lib/ppgd-pgd-utils-4.0.jar \
-		lib/swing-layout-0.7.jar \
+		lib/serpro.jar \
+		lib/swing-layout-1.0.4.jar \
+		lib/swingx-1.6.jar \
+		lib/tinylaf.jar \
 		lib/xalan.jar
 
 #
@@ -74,28 +80,20 @@ JAR_FILES=	\
 # wrapper
 PLIST_FILES+=	bin/${PORTNAME}
 
-# images
-.for image in ${IMAGE_FILES}
-PLIST_FILES+=	%%DATADIR%%/${image}
-.endfor
-
 # jars
 .for jar in ${JAR_FILES}
 PLIST_FILES+=	%%JAR_DIR%%/${jar:C/^lib\///}
 .endfor
 
-# data dir
-PLIST_DIRS+=	\
-		%%DATADIR%%
 # jar dir
 PLIST_DIRS+=	\
 		%%JAR_DIR%%
 
-NO_STAGE=	yes
+post-extract:
+	@( cd ${WRKSRC} && ${JAR} xf ./irpf.jar IRPF-Licenses.txt )
+
 post-patch:
-	@${SED} -e  "s|%%DATADIR%%|${DATADIR}|; \
-		s|%%DATA_FILES%%|${IMAGE_FILES}|; \
-		s|%%JAR_DIR%%|${JAR_DIR}|; \
+	@${SED} -e  "s|%%JAR_DIR%%|${JAR_DIR}|; \
 		s|%%JAR_FILE%%|${JAR_FILE}|; \
 		s|%%JAR_FILES%%|${JAR_FILES:C/^lib\///}|; \
 		s|%%JAVA_VERSION%%|${JAVA_VERSION}|; \
@@ -104,22 +102,16 @@ post-patch:
 
 do-install:
 # jar dir
-	@${MKDIR} ${PREFIX}/${JAR_DIR}
-# data dir
-	@${MKDIR} ${DATADIR}
-# images
-.for file in ${IMAGE_FILES}
-	@${INSTALL_DATA} ${WRKSRC}/${file} \
-		${DATADIR}
-.endfor
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${JAR_DIR}
+	@${CHMOD} 755 ${STAGEDIR}/${PREFIX}/${JAR_DIR}
 # jars
 .for jar in ${JAR_FILES}
-	@${INSTALL_DATA} ${WRKSRC}/${jar} \
-		${PREFIX}/${JAR_DIR}
+	${INSTALL_DATA} ${WRKSRC}/${jar} \
+		${STAGEDIR}${PREFIX}/${JAR_DIR}
 .endfor
 # wrapper
-	@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh \
-		${PREFIX}/bin/${PORTNAME}
+	${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
 .include <bsd.port.pre.mk>
 

Modified: head/portuguese/irpf-pt_BR/distinfo
==============================================================================
--- head/portuguese/irpf-pt_BR/distinfo	Sun Mar 23 23:50:06 2014	(r348905)
+++ head/portuguese/irpf-pt_BR/distinfo	Sun Mar 23 23:54:31 2014	(r348906)
@@ -1,2 +1,2 @@
-SHA256 (irpf2010-v1.0.zip) = a7b23dd36e9029f7b55979404d83ea25c2d5745f4ce0358d9c42d14b205dbaef
-SIZE (irpf2010-v1.0.zip) = 12880956
+SHA256 (IRPF2014-1.0.zip) = 10be5eaaf627646a3c1d0c0fd05d976b0682ec1a03e53459a1f0ba99c70c8a38
+SIZE (IRPF2014-1.0.zip) = 19278166

Modified: head/portuguese/irpf-pt_BR/files/wrapper.sh
==============================================================================
--- head/portuguese/irpf-pt_BR/files/wrapper.sh	Sun Mar 23 23:50:06 2014	(r348905)
+++ head/portuguese/irpf-pt_BR/files/wrapper.sh	Sun Mar 23 23:54:31 2014	(r348906)
@@ -6,9 +6,6 @@
 export JAVA_VERSION
 
 PREFIX="%%PREFIX%%"
-# data
-DATADIR="%%DATADIR%%"
-DATA_FILES="%%DATA_FILES%%"
 # java
 JAVA_VERSION="%%JAVA_VERSION%%"
 JAVAVM="%%JAVAVM%%"
@@ -29,12 +26,6 @@ prepare_home_dir () {
   then
 	mkdir -p ${HOME_DIR}/lib 2>/dev/null
   fi
-  # link the data files
-  for data in ${DATA_FILES}
-  do
-	rm -f ${HOME_DIR}/${data} 2>/dev/null
-	cp -f ${DATADIR}/${data} ${HOME_DIR}/${data} 2>/dev/null
-  done
   # link the jar file
   rm -f ${HOME_DIR}/${JAR_FILE} 2>/dev/null
   cp -f ${PREFIX}/${JAR_DIR}/${JAR_FILE} ${HOME_DIR}/${JAR_FILE} 2>/dev/null



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