diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-07-29 21:13:17 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-07-29 21:13:17 +0800 |
commit | e7533864e7a7574c2d1b20a6b10f81c0561e4621 (patch) | |
tree | 709c0318625f1fe2eca8e12b791e969926c96e91 /french/hyphen | |
parent | 3bc9ecccbd8279e4254d8eade21cc1a1837decfb (diff) | |
download | freebsd-ports-graphics-e7533864e7a7574c2d1b20a6b10f81c0561e4621.tar.gz freebsd-ports-graphics-e7533864e7a7574c2d1b20a6b10f81c0561e4621.tar.zst freebsd-ports-graphics-e7533864e7a7574c2d1b20a6b10f81c0561e4621.zip |
- 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
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 8a31ee9a3b4..b1c5200b86c 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> |