head	1.19;
access;
symbols
	RELEASE_8_3_0:1.17
	RELEASE_9_0_0:1.17
	RELEASE_7_4_0:1.17
	RELEASE_8_2_0:1.17
	RELEASE_6_EOL:1.17
	RELEASE_8_1_0:1.17
	RELEASE_7_3_0:1.17
	RELEASE_8_0_0:1.16
	RELEASE_7_2_0:1.16
	RELEASE_7_1_0:1.12
	RELEASE_6_4_0:1.12
	RELEASE_5_EOL:1.11
	RELEASE_7_0_0:1.5
	RELEASE_6_3_0:1.5
	PRE_XORG_7:1.4;
locks; strict;
comment	@# @;


1.19
date	2013.01.23.15.05.37;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2012.11.17.06.00.47;	author svnexp;	state Exp;
branches;
next	1.17;

1.17
date	2010.03.01.20.57.17;	author lioux;	state Exp;
branches;
next	1.16;

1.16
date	2009.04.18.18.05.28;	author araujo;	state Exp;
branches;
next	1.15;

1.15
date	2009.03.03.14.30.37;	author lioux;	state Exp;
branches;
next	1.14;

1.14
date	2009.03.03.13.38.15;	author lioux;	state Exp;
branches;
next	1.13;

1.13
date	2009.03.03.02.53.18;	author lioux;	state Exp;
branches;
next	1.12;

1.12
date	2008.06.06.13.57.05;	author edwin;	state Exp;
branches;
next	1.11;

1.11
date	2008.04.09.02.30.22;	author araujo;	state Exp;
branches;
next	1.10;

1.10
date	2008.04.08.21.49.29;	author pav;	state Exp;
branches;
next	1.9;

1.9
date	2008.03.16.09.01.30;	author lioux;	state Exp;
branches;
next	1.8;

1.8
date	2008.03.04.00.59.19;	author lioux;	state Exp;
branches;
next	1.7;

1.7
date	2007.12.15.18.13.28;	author lioux;	state Exp;
branches;
next	1.6;

1.6
date	2007.12.11.21.55.53;	author lioux;	state Exp;
branches;
next	1.5;

1.5
date	2007.05.19.20.20.34;	author flz;	state Exp;
branches;
next	1.4;

1.4
date	2007.04.20.08.01.36;	author kris;	state Exp;
branches;
next	1.3;

1.3
date	2007.03.13.11.27.11;	author lioux;	state Exp;
branches;
next	1.2;

1.2
date	2007.03.06.03.39.52;	author lioux;	state Exp;
branches;
next	1.1;

1.1
date	2007.03.06.03.20.02;	author lioux;	state Exp;
branches;
next	;


desc
@@


1.19
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310871
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:	irpf
# Date created:		Ter  6 Mar 2007 01:50:17 UTC
# Whom:                 Mario Sergio Fujikawa Ferreira <lioux@@FreeBSD.org>
#
# $FreeBSD: head/portuguese/irpf-pt_BR/Makefile 310871 2013-01-23 15:00:18Z makc $
#

PORTNAME=	irpf
PORTVERSION=	2010.1.0
PORTREVISION=	1
CATEGORIES=	portuguese finance java
MASTER_SITES=	http://www.receita.fazenda.gov.br/publico/programas/IRPF/2010/PGDIrpf2010/Java/zip/
PKGNAMEPREFIX?=	pt_BR-
DISTNAME=	irpf2010-v1.0

MAINTAINER=	lioux@@FreeBSD.org
COMMENT=	Programa do Imposto de Renda Pessoa Fisica 2010 versao Java

USE_ZIP=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}2010

USE_JAVA=	yes
JAVA_RUN=	yes
JAVA_VERSION=	1.6+
JAVA_OS=	native

NO_BUILD=	yes
PLIST_SUB=	JAR_DIR=${JAR_DIR}

JAVAVM=		${LOCALBASE}/bin/java

JAR_DIR=	${JAVAJARDIR:S,^${PREFIX}/,,}/${PORTNAME}

DESKTOP_ENTRIES=	"Imposto de Renda Pessoa Fisica 2010" \
			"${COMMENT}" \
			"" \
			"${PORTNAME}" \
			"Office;Finance;" \
			"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-digester-1.8.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/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-gui-utils-4.0.jar \
		lib/ppgd-infra-4.0.jar \
		lib/ppgd-negocio-4.0.jar \
		lib/ppgd-persistencia-4.0.jar \
		lib/ppgd-pgd-utils-4.0.jar \
		lib/swing-layout-0.7.jar \
		lib/xalan.jar

#
## PLIST generation
#

# 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%%

post-patch:
	@@${SED} -e  "s|%%DATADIR%%|${DATADIR}|; \
		s|%%DATA_FILES%%|${IMAGE_FILES}|; \
		s|%%JAR_DIR%%|${JAR_DIR}|; \
		s|%%JAR_FILE%%|${JAR_FILE}|; \
		s|%%JAR_FILES%%|${JAR_FILES:C/^lib\///}|; \
		s|%%JAVA_VERSION%%|${JAVA_VERSION}|; \
		s|%%JAVAVM%%|${JAVAVM}|;s|%%PREFIX%%|${PREFIX}|" \
		${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh

do-install:
# jar dir
	@@${MKDIR} ${PREFIX}/${JAR_DIR}
# data dir
	@@${MKDIR} ${DATADIR}
# images
.for file in ${IMAGE_FILES}
	@@${INSTALL_DATA} ${WRKSRC}/${file} \
		${DATADIR}
.endfor
# jars
.for jar in ${JAR_FILES}
	@@${INSTALL_DATA} ${WRKSRC}/${jar} \
		${PREFIX}/${JAR_DIR}
.endfor
# wrapper
	@@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh \
		${PREFIX}/bin/${PORTNAME}

.include <bsd.port.pre.mk>

JAR_FILE=	${PORTNAME}.jar

.include <bsd.port.post.mk>
@


1.18
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/portuguese/irpf-pt_BR/Makefile 300897 2012-07-14 14:29:18Z beat $
d10 1
@


1.17
log
@Update to version 2010.1.0 of the 2010 fiscal year

Feature safe:	yes
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.16
log
@- Distfile updated without a version bump.
- Fix mtree.
- Bump PORTREVISION.

Approved by:	portmgr (erwin)
@
text
@d9 1
a9 2
PORTVERSION=	2009.1.0
PORTREVISION=	4
d11 1
a11 1
MASTER_SITES=	http://www.receita.fazenda.gov.br/Publico/programas/irpf/2009/PGDIrpf2009/Java/ZIP/
d13 1
a13 1
DISTNAME=	IRPF2009v1.0
d16 1
a16 1
COMMENT=	Programa do Imposto de Renda Pessoa Fisica 2009 versao Java
d19 1
a19 1
WRKSRC=		${WRKDIR}/${PORTNAME}2009
d23 1
a23 1
JAVA_VERSION=	1.4+
d33 1
a33 1
DESKTOP_ENTRIES=	"Imposto de Renda Pessoa Fisica 2009" \
d62 8
a69 6
		lib/ppgd-gui-2.9.jar \
		lib/ppgd-gui-beans-2.9.jar \
		lib/ppgd-infra-2.9.jar \
		lib/ppgd-negocio-2.9.jar \
		lib/ppgd-persistencia-2.9.jar \
		lib/ppgd-swixml.jar \
@


1.15
log
@o Add DESKTOP_ENTRIES with entry
  "Imposto de Renda Pessoa Fisica 2009"
o Bump PORTREVISION
@
text
@d10 1
a10 1
PORTREVISION=	3
a62 1
		lib/ppgd-formatosext-2.9.jar \
a68 1
		lib/serpro.jar \
@


1.14
log
@o Do not rely on PORTDATA construct when the data files are not
  optional.
o Use PLIST_FILES directly.
o Bump PORTREVISION due to PLIST change.
@
text
@d10 1
a10 1
PORTREVISION=	1
d23 1
d34 7
@


1.13
log
@Update to version 2009.1.0 of the 2009 fiscal year
@
text
@d10 1
d73 5
d83 3
a89 3
# DATADIR files
PORTDATA=	*

@


1.12
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d9 1
a9 2
PORTVERSION=	2008.1.0
PORTREVISION=	3
d11 1
a11 1
MASTER_SITES=	http://www.receita.fazenda.gov.br/Publico/programas/irpf/2008/PGDIrpf2008/Java/ZIP/
d13 1
a13 1
DISTNAME=	irpf2008v1.0
d16 1
a16 1
COMMENT=	Programa do Imposto de Renda Pessoa Fisica 2007 versao Java
d19 1
a19 1
WRKSRC=		${WRKDIR}/${PORTNAME}2008
a25 1
SUB_FILES=	pkg-message
a26 1
PKGMESSAGE=	${WRKDIR}/pkg-message
d32 9
d43 25
a67 1
		jhall.jar
d69 1
d72 1
d74 1
a74 1
PLIST_FILES+=	%%JAR_DIR%%/${jar}
d77 1
d81 3
d85 3
a87 1
	@@${SED} -e  "s|%%JAR_DIR%%|${JAR_DIR}|; \
d89 1
a89 1
		s|%%JAR_FILES%%|${JAR_FILES}|; \
d95 1
d97 7
a112 3
post-install:
	@@${CAT} ${PKGMESSAGE}

@


1.11
log
@- Distfile updated without a version bump.
- Mark as unbroken.

PR:		ports/122511
Submitted by:	myself
Approved by:	lioux (mantainer, implicit)
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.10
log
@- Mark BROKEN: checksum mismatch

Reported by:	pointyhat
@
text
@d10 1
a10 1
PORTREVISION=	1
a18 2
BROKEN=		Checksum mismatch

@


1.9
log
@Distfile version update without a version bump. Update distinfo and
bump PORTREVISON.
@
text
@d19 2
@


1.8
log
@Update to version 2008.1.0 of the 2008 fiscal year
@
text
@d10 1
@


1.7
log
@Fix install target: add correct WRKSRC

Prompted by:	pav
@
text
@d9 1
a9 1
PORTVERSION=	2007.2.0
d11 1
a11 1
MASTER_SITES=	http://www.receita.fazenda.gov.br/publico/programas/irpf/2007/PGDIrpf2007/Java/ZIP/
d13 1
a13 1
DISTNAME=	irpf2007v2.0
d19 1
a19 1
WRKSRC=		${WRKDIR}/${PORTNAME}2007
@


1.6
log
@Update to version 2.0
@
text
@d19 1
a25 1
NO_WRKSUBDIR=	yes
@


1.5
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d9 1
a9 2
PORTVERSION=	2007.1.0
PORTREVISION=	3
d13 1
a13 1
DISTNAME=	irpf2007v1.0
a17 2
BROKEN=		Size mismatch

@


1.4
log
@BROKEN: Size mismatch
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.3
log
@o Update DISTINFO sinze distfile has changed without a version bump:
  no functional change
o Bump PORTREVISION
@
text
@d19 2
@


1.2
log
@o Improve wrapper.sh script: remove jars after we have used them
o Bump PORTREVISION
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.1
log
@New port irpf version 2007.1.0: Programa do Imposto de Renda Pessoa
Fisica 2007 versao Java
@
text
@d10 1
@

