aboutsummaryrefslogtreecommitdiff
path: root/portuguese/irpf-pt_BR
diff options
context:
space:
mode:
Diffstat (limited to 'portuguese/irpf-pt_BR')
-rw-r--r--portuguese/irpf-pt_BR/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/portuguese/irpf-pt_BR/Makefile b/portuguese/irpf-pt_BR/Makefile
index 4370a2244211..61e5d093733e 100644
--- a/portuguese/irpf-pt_BR/Makefile
+++ b/portuguese/irpf-pt_BR/Makefile
@@ -7,6 +7,7 @@
PORTNAME= irpf
PORTVERSION= 2009.1.0
+PORTREVISION= 1
CATEGORIES= portuguese finance java
MASTER_SITES= http://www.receita.fazenda.gov.br/Publico/programas/irpf/2009/PGDIrpf2009/Java/ZIP/
PKGNAMEPREFIX?= pt_BR-
@@ -69,18 +70,23 @@ 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%%
-# DATADIR files
-PORTDATA= *
-
post-patch:
@${SED} -e "s|%%DATADIR%%|${DATADIR}|; \
s|%%DATA_FILES%%|${IMAGE_FILES}|; \