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 /ukrainian/mythes | |
parent | a600d4522cadfa512ce465f98566cee7b9bec843 (diff) | |
download | ports-72c08ec487edbe98662f3278bee17f8726ee4ce4.tar.gz ports-72c08ec487edbe98662f3278bee17f8726ee4ce4.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
Notes
Notes:
svn path=/head/; revision=278527
Diffstat (limited to 'ukrainian/mythes')
-rw-r--r-- | ukrainian/mythes/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/ukrainian/mythes/Makefile b/ukrainian/mythes/Makefile index d2c16bd71a7d..02bef44dee56 100644 --- a/ukrainian/mythes/Makefile +++ b/ukrainian/mythes/Makefile @@ -5,8 +5,9 @@ # $FreeBSD$ # -PORTNAME= mythe +PORTNAME= mythes PORTVERSION= 1.6.5 +PORTREVISION= 1 CATEGORIES= ukrainian textproc MASTER_SITES= SF/ispell-uk/spell-uk/${PORTVERSION} DISTNAME= spell-uk-${PORTVERSION} @@ -20,15 +21,15 @@ LICENSE_COMB= dual USE_PERL5_BUILD= yes -PLIST_FILES= share/mythes/th_uk_UA.dat \ - share/mythes/th_uk_UA.idx -PLIST_DIRS= share/mythes +PLIST_FILES= %%DATADIR%%/th_uk_UA.dat \ + %%DATADIR%%/th_uk_UA.idx +PLIST_DIRSTRY= %%DATADIR%% do-build: @${PERL} ${WRKSRC}/bin/th_gen_idx.pl < ${WRKSRC}/src/thesaurus/th_uk_UA.dat > ${WRKSRC}/src/thesaurus/th_uk_UA.idx do-install: - @${MKDIR} ${PREFIX}/share/mythes - @${INSTALL_DATA} ${WRKSRC}/src/thesaurus/th_uk_UA.* ${PREFIX}/share/mythes + ${MKDIR} ${DATADIR}/ + ${INSTALL_DATA} ${WRKSRC}/src/thesaurus/th_uk_UA.dat ${WRKSRC}/src/thesaurus/th_uk_UA.idx ${DATADIR}/ .include <bsd.port.mk> |