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 /textproc/en-mythes | |
parent | 3bc9ecccbd8279e4254d8eade21cc1a1837decfb (diff) | |
download | freebsd-ports-gnome-e7533864e7a7574c2d1b20a6b10f81c0561e4621.tar.gz freebsd-ports-gnome-e7533864e7a7574c2d1b20a6b10f81c0561e4621.tar.zst freebsd-ports-gnome-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 'textproc/en-mythes')
-rw-r--r-- | textproc/en-mythes/Makefile | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/textproc/en-mythes/Makefile b/textproc/en-mythes/Makefile index bfb872158a5b..b00729c7c054 100644 --- a/textproc/en-mythes/Makefile +++ b/textproc/en-mythes/Makefile @@ -5,10 +5,12 @@ # $FreeBSD$ # -PORTNAME= en-mythes +PORTNAME= mythes PORTVERSION= 2006.12.08 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/ +PKGNAMEPREFIX= en- DISTNAME= thes_en_US_v2 MAINTAINER= office@FreeBSD.org @@ -18,27 +20,25 @@ LICENSE= LGPL21 USE_ZIP= yes NO_BUILD= yes +NO_WRKSUBDIR= yes + +PLIST_FILES= %%DATADIR%%/th_en_US_v2.dat \ + %%DATADIR%%/th_en_US_v2.idx +PLIST_DIRSTRY= %%DATADIR%% USALIASES= en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_IE \ en_IN en_JM en_NA en_NG en_NZ en_PH en_SG en_TT en_ZA en_ZW - -PLIST_FILES= share/mythes/th_en_US_v2.dat \ - share/mythes/th_en_US_v2.idx - .for ALIAS in ${USALIASES} -PLIST_FILES+= share/mythes/th_${ALIAS}_v2.dat \ - share/mythes/th_${ALIAS}_v2.idx +PLIST_FILES+= %%DATADIR%%/th_${ALIAS}_v2.dat \ + %%DATADIR%%/th_${ALIAS}_v2.idx .endfor -PLIST_DIRS= share/mythes - do-install: - @${MKDIR} ${PREFIX}/share/mythes - @${INSTALL_DATA} ${WRKDIR}/th_en_US_v2.* ${PREFIX}/share/mythes - @cd ${PREFIX}/share/mythes; \ - for alias in ${USALIASES}; do \ - ${LN} -s th_en_US_v2.idx th_$${alias}_v2.idx ; \ - ${LN} -s th_en_US_v2.dat th_$${alias}_v2.dat ; \ - done + ${MKDIR} ${DATADIR}/ + ${INSTALL_DATA} ${WRKSRC}/th_en_US_v2.dat ${WRKSRC}/th_en_US_v2.idx ${DATADIR}/ +.for ALIAS in ${USALIASES} + ${LN} -s th_en_US_v2.dat ${DATADIR}/th_${ALIAS}_v2.dat + ${LN} -s th_en_US_v2.idx ${DATADIR}/th_${ALIAS}_v2.idx +.endfor .include <bsd.port.mk> |