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 /french/hyphen | |
parent | a600d4522cadfa512ce465f98566cee7b9bec843 (diff) | |
download | ports-72c08ec487edbe98662f3278bee17f8726ee4ce4.tar.gz ports-72c08ec487edbe98662f3278bee17f8726ee4ce4.zip |
Notes
Diffstat (limited to 'french/hyphen')
-rw-r--r-- | french/hyphen/Makefile | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/french/hyphen/Makefile b/french/hyphen/Makefile index 8a31ee9a3b49..b1c5200b86c0 100644 --- a/french/hyphen/Makefile +++ b/french/hyphen/Makefile @@ -7,8 +7,7 @@ PORTNAME= hyphen PORTVERSION= 2.0 -#PORTREVISION= 0 -#PORTEPOCH= 0 +PORTREVISION= 1 CATEGORIES= french textproc MASTER_SITES= http://www.dicollecte.org/download/fr/ DISTNAME= hyph_fr_${PORTVERSION:S/./-/} @@ -19,21 +18,19 @@ COMMENT= French hyphenation rules USE_ZIP= yes NO_BUILD= yes -PLIST_FILES= share/hyphen/hyph_fr_FR.dic +PLIST_FILES= %%DATADIR%%/hyph_fr_FR.dic +PLIST_DIRSTRY= %%DATADIR%% FRALIASES= fr_BE fr_CA fr_CH fr_LU - .for ALIAS in ${FRALIASES} -PLIST_FILES+= share/hyphen/hyph_${ALIAS}.dic +PLIST_FILES+= %%DATADIR%%/hyph_${ALIAS}.dic .endfor -PLIST_DIRS= share/hyphen do-install: - @${MKDIR} ${PREFIX}/share/hyphen - @${INSTALL_DATA} ${WRKDIR}/hyph_fr_FR.dic ${PREFIX}/share/hyphen - @cd ${PREFIX}/share/hyphen; \ - for alias in ${FRALIASES}; do \ - ${LN} -s hyph_fr_FR.dic hyph_$${alias}.dic ; \ - done + ${MKDIR} ${DATADIR}/ + ${INSTALL_DATA} ${WRKDIR}/hyph_fr_FR.dic ${DATADIR}/ +.for ALIAS in ${FRALIASES} + ${LN} -s hyph_fr_FR.dic ${DATADIR}/hyph_${ALIAS}.dic +.endfor .include <bsd.port.mk> |