summaryrefslogtreecommitdiff
path: root/textproc/it-hyphen
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-19 13:31:28 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-19 14:00:48 +0800
commit915dbfaa562e20c8402d3873f8bfbf07899f9f8a (patch)
tree31846497e11ce47118708aa782fe87dbb6a7599f /textproc/it-hyphen
parentgerman/mythes: Update to 2021.09.12 (diff)
*/*hyphen: Avoid using %% in Makefile
Use ${DATAIDR} instead of %%DATADIR%%
Diffstat (limited to 'textproc/it-hyphen')
-rw-r--r--textproc/it-hyphen/Makefile4
-rw-r--r--textproc/it-hyphen/Makefile 28
2 files changed, 30 insertions, 2 deletions
diff --git a/textproc/it-hyphen/Makefile b/textproc/it-hyphen/Makefile
index 12d250fdcc41..bd261ee9b8f2 100644
--- a/textproc/it-hyphen/Makefile
+++ b/textproc/it-hyphen/Makefile
@@ -16,8 +16,8 @@ NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
-PLIST_FILES= %%DATADIR%%/hyph_it_CH.dic \
- %%DATADIR%%/hyph_it_IT.dic
+PLIST_FILES= ${DATADIR}/hyph_it_CH.dic \
+ ${DATADIR}/hyph_it_IT.dic
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/
diff --git a/textproc/it-hyphen/Makefile b/textproc/it-hyphen/Makefile
new file mode 100644
index 000000000000..12d250fdcc41
--- /dev/null
+++ b/textproc/it-hyphen/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= hyphen
+PORTVERSION= 2016.02.10
+CATEGORIES= textproc
+MASTER_SITES= http://sourceforge.net/projects/aoo-extensions/files/1204/14/
+PKGNAMEPREFIX= it-
+DISTNAME= dict-it
+EXTRACT_SUFX= .oxt
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= office@FreeBSD.org
+COMMENT= Italian hyphenation rules
+
+LICENSE= LGPL21
+
+NO_ARCH= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+PLIST_FILES= %%DATADIR%%/hyph_it_CH.dic \
+ %%DATADIR%%/hyph_it_IT.dic
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/dictionaries/hyph_it_IT.dic \
+ ${STAGEDIR}${DATADIR}/
+ ${LN} -s hyph_it_IT.dic ${STAGEDIR}${DATADIR}/hyph_it_CH.dic
+
+.include <bsd.port.mk>