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 /polish | |
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 'polish')
-rw-r--r-- | polish/hyphen/Makefile | 9 | ||||
-rw-r--r-- | polish/mythes/Makefile | 13 |
2 files changed, 12 insertions, 10 deletions
diff --git a/polish/hyphen/Makefile b/polish/hyphen/Makefile index 83f94bd729d6..b9f0618a03b8 100644 --- a/polish/hyphen/Makefile +++ b/polish/hyphen/Makefile @@ -7,6 +7,7 @@ PORTNAME= hyphen PORTVERSION= 2007.04.16 +PORTREVISION= 1 CATEGORIES= polish textproc MASTER_SITES= http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/ DISTNAME= hyph_pl_PL @@ -19,11 +20,11 @@ LICENSE= LGPL21 USE_ZIP= yes NO_BUILD= yes -PLIST_FILES= share/hyphen/hyph_pl_PL.dic -PLIST_DIRS= share/hyphen +PLIST_FILES= %%DATADIR%%/hyph_pl_PL.dic +PLIST_DIRSTRY= %%DATADIR%% do-install: - @${MKDIR} ${PREFIX}/share/hyphen - @${INSTALL_DATA} ${WRKDIR}/hyph_pl_PL.dic ${PREFIX}/share/hyphen + ${MKDIR} ${DATADIR}/ + ${INSTALL_DATA} ${WRKDIR}/hyph_pl_PL.dic ${DATADIR}/ .include <bsd.port.mk> diff --git a/polish/mythes/Makefile b/polish/mythes/Makefile index 64f931fcf1f4..5cbd53f21869 100644 --- a/polish/mythes/Makefile +++ b/polish/mythes/Makefile @@ -7,6 +7,7 @@ PORTNAME= mythes PORTVERSION= 1.5 +PORTREVISION= 1 CATEGORIES= polish textproc MASTER_SITES= SF/synonimy/synonimy/${PORTVERSION}/ DISTNAME= OOo2-Thesaurus-${PORTVERSION} @@ -18,14 +19,14 @@ LICENSE= LGPL21 USE_ZIP= yes NO_BUILD= yes +NO_WRKSUBDIR= yes -PLIST_FILES= share/mythes/th_pl_PL_v2.dat \ - share/mythes/th_pl_PL_v2.idx - -PLIST_DIRS= share/mythes +PLIST_FILES= %%DATADIR%%/th_pl_PL_v2.dat \ + %%DATADIR%%/th_pl_PL_v2.idx +PLIST_DIRSTRY= %%DATADIR%% do-install: - @${MKDIR} ${PREFIX}/share/mythes - @${INSTALL_DATA} ${WRKDIR}/th_pl_PL_v2.* ${PREFIX}/share/mythes + ${MKDIR} ${DATADIR}/ + ${INSTALL_DATA} ${WRKSRC}/th_pl_PL_v2.dat ${WRKSRC}/th_pl_PL_v2.idx ${DATADIR}/ .include <bsd.port.mk> |