diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-07-29 13:13:17 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-07-29 13:13:17 +0000 |
commit | 72c08ec487edbe98662f3278bee17f8726ee4ce4 (patch) | |
tree | a3c6d7d2a4a492c3e55a418f3fa370e951b5ccc7 /portuguese | |
parent | a600d4522cadfa512ce465f98566cee7b9bec843 (diff) |
- Move language prefix to PKGNAMEPREFIX
- Use DATADIR
- Use PLIST_DIRSTRY for DATADIR
- Explicitly list installing filenames
- Bump PORTREVISION for PORTNAME and PLIST change
- Sort PLIST
- Cosmetic change
Notes
Notes:
svn path=/head/; revision=278527
Diffstat (limited to 'portuguese')
-rw-r--r-- | portuguese/hunspell/Makefile | 24 | ||||
-rw-r--r-- | portuguese/hyphen/Makefile | 13 | ||||
-rw-r--r-- | portuguese/mythes/Makefile | 21 |
3 files changed, 29 insertions, 29 deletions
diff --git a/portuguese/hunspell/Makefile b/portuguese/hunspell/Makefile index c207d3bd0452..7cc5e447dbef 100644 --- a/portuguese/hunspell/Makefile +++ b/portuguese/hunspell/Makefile @@ -7,6 +7,7 @@ PORTNAME= hunspell PORTVERSION= 20110608 +PORTREVISION= 1 CATEGORIES= portuguese textproc MASTER_SITES= http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/ \ http://www.broffice.org/files/:BR @@ -18,23 +19,20 @@ COMMENT= Hunspell portuguese dictionary # rely on bsdtar ability to extract .gz and .zip archives EXTRACT_CMD= ${CAT} -EXTRACT_BEFORE_ARGS= +EXTRACT_BEFORE_ARGS= # empty NO_BUILD= yes -WRKSRC= ${WRKDIR}/hunspell-pt_PT-${PORTVERSION} +WRKSRC= ${WRKDIR}/hunspell-pt_PT-${PORTVERSION} -PLIST_FILES= share/hunspell/pt_PT.aff \ - share/hunspell/pt_PT.dic \ - share/hunspell/pt_BR.aff \ - share/hunspell/pt_BR.dic -PLIST_DIRS= share/hunspell +PLIST_FILES= %%DATADIR%%/pt_BR.aff \ + %%DATADIR%%/pt_BR.dic \ + %%DATADIR%%/pt_PT.aff \ + %%DATADIR%%/pt_PT.dic +PLIST_DIRSTRY= %%DATADIR%% do-install: - @${MKDIR} ${PREFIX}/share/hunspell - @${INSTALL_DATA} ${WRKDIR}/pt_BR.aff \ - ${WRKDIR}/pt_BR.dic \ - ${WRKSRC}/pt_PT.aff \ - ${WRKSRC}/pt_PT.dic \ - ${PREFIX}/share/hunspell/ + ${MKDIR} ${DATADIR}/ + ${INSTALL_DATA} ${WRKDIR}/pt_BR.aff ${WRKDIR}/pt_BR.dic \ + ${WRKSRC}/pt_PT.aff ${WRKSRC}/pt_PT.dic ${DATADIR}/ .include <bsd.port.mk> diff --git a/portuguese/hyphen/Makefile b/portuguese/hyphen/Makefile index d32551a583ec..b0348de72e34 100644 --- a/portuguese/hyphen/Makefile +++ b/portuguese/hyphen/Makefile @@ -7,6 +7,7 @@ PORTNAME= hyphen PORTVERSION= 2004.04.15 +PORTREVISION= 1 CATEGORIES= portuguese textproc MASTER_SITES= http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/ DISTNAME= hyph_pt_PT @@ -19,13 +20,13 @@ LICENSE= LGPL21 USE_ZIP= yes NO_BUILD= yes -PLIST_FILES= share/hyphen/hyph_pt_PT.dic \ - share/hyphen/hyph_pt_BR.dic -PLIST_DIRS= share/hyphen +PLIST_FILES= %%DATADIR%%/hyph_pt_BR.dic \ + %%DATADIR%%/hyph_pt_PT.dic +PLIST_DIRSTRY= %%DATADIR%% do-install: - @${MKDIR} ${PREFIX}/share/hyphen - @${INSTALL_DATA} ${WRKDIR}/hyph_pt_PT.dic ${PREFIX}/share/hyphen - @cd ${PREFIX}/share/hyphen; ${LN} -s hyph_pt_PT.dic hyph_pt_BR.dic + ${MKDIR} ${DATADIR}/ + ${INSTALL_DATA} ${WRKDIR}/hyph_pt_PT.dic ${DATADIR}/ + ${LN} -s hyph_pt_PT.dic ${DATADIR}/hyph_pt_BR.dic .include <bsd.port.mk> diff --git a/portuguese/mythes/Makefile b/portuguese/mythes/Makefile index de2f6717535a..2045c6582d7d 100644 --- a/portuguese/mythes/Makefile +++ b/portuguese/mythes/Makefile @@ -7,6 +7,7 @@ PORTNAME= mythes PORTVERSION= 2006.08.17 +PORTREVISION= 1 CATEGORIES= portuguese textproc MASTER_SITES= http://openthesaurus.caixamagica.pt/download/ DISTNAME= thes_pt_PT_v2 @@ -18,18 +19,18 @@ LICENSE= GPLv2 USE_ZIP= yes NO_BUILD= yes +NO_WRKSUBDIR= yes -PLIST_FILES= share/mythes/th_pt_PT_v2.dat \ - share/mythes/th_pt_PT_v2.idx \ - share/mythes/th_pt_BR_v2.dat \ - share/mythes/th_pt_BR_v2.idx -PLIST_DIRS= share/mythes +PLIST_FILES= %%DATADIR%%/th_pt_BR_v2.dat \ + %%DATADIR%%/th_pt_BR_v2.idx \ + %%DATADIR%%/th_pt_PT_v2.dat \ + %%DATADIR%%/th_pt_PT_v2.idx +PLIST_DIRSTRY= %%DATADIR%% do-install: - @${MKDIR} ${PREFIX}/share/mythes - @${INSTALL_DATA} ${WRKDIR}/th_pt_PT_v2.* ${PREFIX}/share/mythes - @cd ${PREFIX}/share/mythes; \ - ${LN} -s th_pt_PT_v2.dat th_pt_BR_v2.dat ; \ - ${LN} -s th_pt_PT_v2.idx th_pt_BR_v2.idx + ${MKDIR} ${DATADIR}/ + ${INSTALL_DATA} ${WRKDIR}/th_pt_PT_v2.dat ${WRKSRC}/th_pt_PT_v2.idx ${DATADIR}/ + ${LN} -s th_pt_PT_v2.dat ${DATADIR}/th_pt_BR_v2.dat + ${LN} -s th_pt_PT_v2.idx ${DATADIR}/th_pt_BR_v2.idx .include <bsd.port.mk> |