summaryrefslogtreecommitdiff
path: root/polish
diff options
context:
space:
mode:
Diffstat (limited to 'polish')
-rw-r--r--polish/hyphen/Makefile9
-rw-r--r--polish/mythes/Makefile13
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>