diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2009-03-03 13:38:15 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2009-03-03 13:38:15 +0000 |
commit | 95330215d8460cdfb5d3d508e75c1f07e97186a3 (patch) | |
tree | dba2a387a01d13e7c5715ef187812565513495bd /portuguese | |
parent | a68677ce19d3fb0b5d828438eb65e1b9f787fddf (diff) |
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.
Notes
Notes:
svn path=/head/; revision=229417
Diffstat (limited to 'portuguese')
-rw-r--r-- | portuguese/irpf-pt_BR/Makefile | 12 |
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}|; \ |