git: 915dbfaa562e - main - */*hyphen: Avoid using %% in Makefile

Bryan Drewery bdrewery at FreeBSD.org
Tue Sep 21 00:02:36 UTC 2021


On 9/18/2021 11:08 PM, Po-Chuan Hsieh wrote:
> The branch main has been updated by sunpoet:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=915dbfaa562e20c8402d3873f8bfbf07899f9f8a
> 
> commit 915dbfaa562e20c8402d3873f8bfbf07899f9f8a
> Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
> AuthorDate: 2021-09-19 05:31:28 +0000
> Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
> CommitDate: 2021-09-19 06:00:48 +0000
> 
>     */*hyphen: Avoid using %% in Makefile
>     
>     Use ${DATAIDR} instead of %%DATADIR%%
> ---
>  german/hyphen/Makefile       |  4 ++--
>  german/hyphen/Makefile       | 33 +++++++++++++++++++++++++++++++++
>  hungarian/hyphen/Makefile    |  2 +-
>  hungarian/hyphen/Makefile    | 25 +++++++++++++++++++++++++
>  polish/hyphen/Makefile       |  2 +-
>  polish/hyphen/Makefile       | 25 +++++++++++++++++++++++++
>  portuguese/hyphen/Makefile   |  4 ++--
>  portuguese/hyphen/Makefile   | 27 +++++++++++++++++++++++++++
>  russian/hyphen/Makefile      |  4 ++--
>  russian/hyphen/Makefile      | 27 +++++++++++++++++++++++++++
>  textproc/bg-hyphen/Makefile  |  2 +-
>  textproc/bg-hyphen/Makefile  | 29 +++++++++++++++++++++++++++++
>  textproc/cs-hyphen/Makefile  |  2 +-
>  textproc/cs-hyphen/Makefile  | 25 +++++++++++++++++++++++++
>  textproc/el-hyphen/Makefile  |  4 ++--
>  textproc/el-hyphen/Makefile  | 28 ++++++++++++++++++++++++++++
>  textproc/es-hyphen/Makefile  |  4 ++--
>  textproc/es-hyphen/Makefile  | 43 +++++++++++++++++++++++++++++++++++++++++++
>  textproc/hyphen/Makefile     |  4 ++--
>  textproc/hyphen/Makefile     | 41 +++++++++++++++++++++++++++++++++++++++++
>  textproc/id-hyphen/Makefile  |  2 +-
>  textproc/id-hyphen/Makefile  | 26 ++++++++++++++++++++++++++
>  textproc/is-hyphen/Makefile  |  2 +-
>  textproc/is-hyphen/Makefile  | 26 ++++++++++++++++++++++++++
>  textproc/it-hyphen/Makefile  |  4 ++--
>  textproc/it-hyphen/Makefile  | 28 ++++++++++++++++++++++++++++
>  textproc/lt-hyphen/Makefile  |  2 +-
>  textproc/lt-hyphen/Makefile  | 26 ++++++++++++++++++++++++++
>  textproc/nl-hyphen/Makefile  |  2 +-
>  textproc/nl-hyphen/Makefile  | 26 ++++++++++++++++++++++++++
>  textproc/ro-hyphen/Makefile  |  2 +-
>  textproc/ro-hyphen/Makefile  | 26 ++++++++++++++++++++++++++
>  textproc/sk-hyphen/Makefile  |  2 +-
>  textproc/sk-hyphen/Makefile  | 26 ++++++++++++++++++++++++++
>  textproc/sl-hyphen/Makefile  |  2 +-
>  textproc/sl-hyphen/Makefile  | 26 ++++++++++++++++++++++++++
>  ukrainian/hyphen/Makefile    |  2 +-
>  ukrainian/hyphen/Makefile    | 25 +++++++++++++++++++++++++

This created a bunch of 'Makefile ' files with the trailing space.
Surely that was a mistake and not intended?

cperciva@ reports it breaks portsnap.

>  38 files changed, 564 insertions(+), 26 deletions(-)
> 
> diff --git a/german/hyphen/Makefile b/german/hyphen/Makefile
> index 5e8dbe0ffc1b..19397ad74aa5 100644
> --- a/german/hyphen/Makefile
> +++ b/german/hyphen/Makefile
> @@ -16,11 +16,11 @@ NO_ARCH=	yes
>  NO_BUILD=	yes
>  NO_WRKSUBDIR=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_de_DE.dic
> +PLIST_FILES=	${DATADIR}/hyph_de_DE.dic
>  
>  DEALIASES=	de_AT de_BE de_CH de_LI de_LU
>  .for ALIAS in ${DEALIASES}
> -PLIST_FILES+=	%%DATADIR%%/hyph_${ALIAS}.dic
> +PLIST_FILES+=	${DATADIR}/hyph_${ALIAS}.dic
>  .endfor
>  
>  do-install:
> diff --git a/german/hyphen/Makefile  b/german/hyphen/Makefile 
> new file mode 100644
> index 000000000000..5e8dbe0ffc1b
> --- /dev/null
> +++ b/german/hyphen/Makefile 	
> @@ -0,0 +1,33 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	2007.02.17
> +PORTREVISION=	1
> +CATEGORIES=	german textproc
> +MASTER_SITES=	LOCAL/sunpoet/${PORTNAME}/
> +DISTNAME=	hyph_de_DE-${PORTVERSION:C/\.//g}
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	German hyphenation rules
> +
> +LICENSE=	LGPL21
> +
> +USES=		zip
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +NO_WRKSUBDIR=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_de_DE.dic
> +
> +DEALIASES=	de_AT de_BE de_CH de_LI de_LU
> +.for ALIAS in ${DEALIASES}
> +PLIST_FILES+=	%%DATADIR%%/hyph_${ALIAS}.dic
> +.endfor
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_de_DE.dic ${STAGEDIR}${DATADIR}/
> +.for ALIAS in ${DEALIASES}
> +	${LN} -s hyph_de_DE.dic ${STAGEDIR}${DATADIR}/hyph_${ALIAS}.dic
> +.endfor
> +
> +.include <bsd.port.mk>
> diff --git a/hungarian/hyphen/Makefile b/hungarian/hyphen/Makefile
> index 135df0d9e256..23ee7bf89ae8 100644
> --- a/hungarian/hyphen/Makefile
> +++ b/hungarian/hyphen/Makefile
> @@ -16,7 +16,7 @@ NO_ARCH=	yes
>  NO_BUILD=	yes
>  NO_WRKSUBDIR=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_hu_HU.dic
> +PLIST_FILES=	${DATADIR}/hyph_hu_HU.dic
>  
>  do-install:
>  	${MKDIR} ${STAGEDIR}${DATADIR}/
> diff --git a/hungarian/hyphen/Makefile  b/hungarian/hyphen/Makefile 
> new file mode 100644
> index 000000000000..135df0d9e256
> --- /dev/null
> +++ b/hungarian/hyphen/Makefile 	
> @@ -0,0 +1,25 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	2007.05.17
> +PORTREVISION=	1
> +CATEGORIES=	hungarian textproc
> +MASTER_SITES=	LOCAL/sunpoet/${PORTNAME}/
> +DISTNAME=	hyph_hu_HU-${PORTVERSION:C/\.//g}
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Hungarian hyphenation rules
> +
> +LICENSE=	LGPL21
> +
> +USES=		zip
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +NO_WRKSUBDIR=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_hu_HU.dic
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_hu_HU.dic ${STAGEDIR}${DATADIR}/
> +
> +.include <bsd.port.mk>
> diff --git a/polish/hyphen/Makefile b/polish/hyphen/Makefile
> index cedf1a78f2da..5ab3f039402a 100644
> --- a/polish/hyphen/Makefile
> +++ b/polish/hyphen/Makefile
> @@ -16,7 +16,7 @@ NO_ARCH=	yes
>  NO_BUILD=	yes
>  NO_WRKSUBDIR=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_pl_PL.dic
> +PLIST_FILES=	${DATADIR}/hyph_pl_PL.dic
>  
>  do-install:
>  	${MKDIR} ${STAGEDIR}${DATADIR}/
> diff --git a/polish/hyphen/Makefile  b/polish/hyphen/Makefile 
> new file mode 100644
> index 000000000000..cedf1a78f2da
> --- /dev/null
> +++ b/polish/hyphen/Makefile 	
> @@ -0,0 +1,25 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	2007.04.16
> +PORTREVISION=	1
> +CATEGORIES=	polish textproc
> +MASTER_SITES=	LOCAL/sunpoet/${PORTNAME}/
> +DISTNAME=	hyph_pl_PL-${PORTVERSION:C/\.//g}
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Polish hyphenation rules
> +
> +LICENSE=	LGPL21
> +
> +USES=		zip
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +NO_WRKSUBDIR=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_pl_PL.dic
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_pl_PL.dic ${STAGEDIR}${DATADIR}/
> +
> +.include <bsd.port.mk>
> diff --git a/portuguese/hyphen/Makefile b/portuguese/hyphen/Makefile
> index 5efdf8f44b1d..55042c535793 100644
> --- a/portuguese/hyphen/Makefile
> +++ b/portuguese/hyphen/Makefile
> @@ -16,8 +16,8 @@ NO_ARCH=	yes
>  NO_BUILD=	yes
>  NO_WRKSUBDIR=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_pt_BR.dic \
> -		%%DATADIR%%/hyph_pt_PT.dic
> +PLIST_FILES=	${DATADIR}/hyph_pt_BR.dic \
> +		${DATADIR}/hyph_pt_PT.dic
>  
>  do-install:
>  	${MKDIR} ${STAGEDIR}${DATADIR}/
> diff --git a/portuguese/hyphen/Makefile  b/portuguese/hyphen/Makefile 
> new file mode 100644
> index 000000000000..5efdf8f44b1d
> --- /dev/null
> +++ b/portuguese/hyphen/Makefile 	
> @@ -0,0 +1,27 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	2004.04.15
> +PORTREVISION=	1
> +CATEGORIES=	portuguese textproc
> +MASTER_SITES=	LOCAL/sunpoet/${PORTNAME}/
> +DISTNAME=	hyph_pt_PT-${PORTVERSION:C/\.//g}
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Portuguese hyphenation rules
> +
> +LICENSE=	LGPL21
> +
> +USES=		zip
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +NO_WRKSUBDIR=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_pt_BR.dic \
> +		%%DATADIR%%/hyph_pt_PT.dic
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_pt_PT.dic ${STAGEDIR}${DATADIR}/
> +	${LN} -s hyph_pt_PT.dic ${STAGEDIR}${DATADIR}/hyph_pt_BR.dic
> +
> +.include <bsd.port.mk>
> diff --git a/russian/hyphen/Makefile b/russian/hyphen/Makefile
> index a3f215d658d4..0c9ce1c8ea9b 100644
> --- a/russian/hyphen/Makefile
> +++ b/russian/hyphen/Makefile
> @@ -16,8 +16,8 @@ NO_ARCH=	yes
>  NO_BUILD=	yes
>  NO_WRKSUBDIR=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_ru_RU.dic \
> -		%%DATADIR%%/hyph_ru_UA.dic
> +PLIST_FILES=	${DATADIR}/hyph_ru_RU.dic \
> +		${DATADIR}/hyph_ru_UA.dic
>  
>  do-install:
>  	${MKDIR} ${STAGEDIR}${DATADIR}/
> diff --git a/russian/hyphen/Makefile  b/russian/hyphen/Makefile 
> new file mode 100644
> index 000000000000..a3f215d658d4
> --- /dev/null
> +++ b/russian/hyphen/Makefile 	
> @@ -0,0 +1,27 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	2004.04.15
> +PORTREVISION=	1
> +CATEGORIES=	russian textproc
> +MASTER_SITES=	LOCAL/sunpoet/${PORTNAME}/
> +DISTNAME=	hyph_ru_RU-${PORTVERSION:C/\.//g}
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Russian hyphenation rules
> +
> +LICENSE=	LGPL21
> +
> +USES=		zip
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +NO_WRKSUBDIR=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_ru_RU.dic \
> +		%%DATADIR%%/hyph_ru_UA.dic
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_ru_RU.dic ${STAGEDIR}${DATADIR}/
> +	${LN} -s hyph_ru_RU.dic ${STAGEDIR}${DATADIR}/hyph_ru_UA.dic
> +
> +.include <bsd.port.mk>
> diff --git a/textproc/bg-hyphen/Makefile b/textproc/bg-hyphen/Makefile
> index 19f587084fb9..c49d36dc357d 100644
> --- a/textproc/bg-hyphen/Makefile
> +++ b/textproc/bg-hyphen/Makefile
> @@ -20,7 +20,7 @@ USES=		zip
>  NO_ARCH=	yes
>  NO_BUILD=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_bg_BG.dic
> +PLIST_FILES=	${DATADIR}/hyph_bg_BG.dic
>  
>  do-install:
>  	${MKDIR} ${STAGEDIR}${DATADIR}/
> diff --git a/textproc/bg-hyphen/Makefile  b/textproc/bg-hyphen/Makefile 
> new file mode 100644
> index 000000000000..19f587084fb9
> --- /dev/null
> +++ b/textproc/bg-hyphen/Makefile 	
> @@ -0,0 +1,29 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	4.3
> +PORTREVISION=	1
> +CATEGORIES=	textproc
> +MASTER_SITES=	SF/bgoffice/OpenOffice.org%20Hyphenation%20BG/${PORTVERSION}/
> +PKGNAMEPREFIX=	bg-
> +DISTNAME=	OOo-hyph-bg-${PORTVERSION}
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Bulgarian hyphenation rules
> +
> +LICENSE=	GPLv2 LGPL21 MPL11
> +LICENSE_COMB=	dual
> +LICENSE_FILE_GPLv2=	${WRKSRC}/GPL-2.0.txt
> +LICENSE_FILE_LGPL21=	${WRKSRC}/LGPL-2.1.txt
> +LICENSE_FILE_MPL11=	${WRKSRC}/MPL-1.1.txt
> +
> +USES=		zip
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_bg_BG.dic
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_bg_BG.dic ${STAGEDIR}${DATADIR}/
> +
> +.include <bsd.port.mk>
> diff --git a/textproc/cs-hyphen/Makefile b/textproc/cs-hyphen/Makefile
> index 587fc3f22109..b4e680c45f14 100644
> --- a/textproc/cs-hyphen/Makefile
> +++ b/textproc/cs-hyphen/Makefile
> @@ -16,7 +16,7 @@ NO_ARCH=	yes
>  NO_BUILD=	yes
>  NO_WRKSUBDIR=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_cs_CZ.dic
> +PLIST_FILES=	${DATADIR}/hyph_cs_CZ.dic
>  
>  do-install:
>  	${MKDIR} ${STAGEDIR}${DATADIR}/
> diff --git a/textproc/cs-hyphen/Makefile  b/textproc/cs-hyphen/Makefile 
> new file mode 100644
> index 000000000000..587fc3f22109
> --- /dev/null
> +++ b/textproc/cs-hyphen/Makefile 	
> @@ -0,0 +1,25 @@
> +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet at FreeBSD.org>
> +
> +PORTNAME=	hyphen
> +PORTVERSION=	2.0
> +CATEGORIES=	textproc
> +MASTER_SITES=	SF/aoo-extensions/1078/0/
> +PKGNAMEPREFIX=	cs-
> +DISTNAME=	dict-cs-${PORTVERSION}
> +EXTRACT_SUFX=	.oxt
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Czech hyphenation rules
> +
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +NO_WRKSUBDIR=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_cs_CZ.dic
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_cs_CZ.dic ${STAGEDIR}${DATADIR}/
> +
> +.include <bsd.port.mk>
> diff --git a/textproc/el-hyphen/Makefile b/textproc/el-hyphen/Makefile
> index 5165f797c769..f46ba62d261a 100644
> --- a/textproc/el-hyphen/Makefile
> +++ b/textproc/el-hyphen/Makefile
> @@ -17,8 +17,8 @@ NO_ARCH=	yes
>  NO_BUILD=	yes
>  NO_WRKSUBDIR=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_el_CY.dic \
> -		%%DATADIR%%/hyph_el_GR.dic
> +PLIST_FILES=	${DATADIR}/hyph_el_CY.dic \
> +		${DATADIR}/hyph_el_GR.dic
>  
>  do-install:
>  	${MKDIR} ${STAGEDIR}${DATADIR}/
> diff --git a/textproc/el-hyphen/Makefile  b/textproc/el-hyphen/Makefile 
> new file mode 100644
> index 000000000000..5165f797c769
> --- /dev/null
> +++ b/textproc/el-hyphen/Makefile 	
> @@ -0,0 +1,28 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	2005.10.17
> +PORTREVISION=	1
> +CATEGORIES=	textproc
> +MASTER_SITES=	LOCAL/sunpoet/${PORTNAME}/
> +PKGNAMEPREFIX=	el-
> +DISTNAME=	hyph_el_GR-${PORTVERSION:C/\.//g}
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Greek hyphenation rules
> +
> +LICENSE=	LGPL21
> +
> +USES=		zip
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +NO_WRKSUBDIR=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_el_CY.dic \
> +		%%DATADIR%%/hyph_el_GR.dic
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_el_GR.dic ${STAGEDIR}${DATADIR}/
> +	${LN} -s hyph_el_GR.dic ${STAGEDIR}${DATADIR}/hyph_el_CY.dic
> +
> +.include <bsd.port.mk>
> diff --git a/textproc/es-hyphen/Makefile b/textproc/es-hyphen/Makefile
> index 2f19c36224e6..ba5a2a7d62e5 100644
> --- a/textproc/es-hyphen/Makefile
> +++ b/textproc/es-hyphen/Makefile
> @@ -25,12 +25,12 @@ NO_ARCH=	yes
>  NO_BUILD=	yes
>  NO_WRKSUBDIR=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_es_ES.dic
> +PLIST_FILES=	${DATADIR}/hyph_es_ES.dic
>  
>  ESALIASES=	es_AR es_BO es_CL es_CO es_CR es_CU es_DO es_EC es_GT es_HN \
>  		es_MX es_NI es_PA es_PE es_PR es_PY es_SV es_US es_UY es_VE
>  .for ALIAS in ${ESALIASES}
> -PLIST_FILES+=	%%DATADIR%%/hyph_${ALIAS}.dic
> +PLIST_FILES+=	${DATADIR}/hyph_${ALIAS}.dic
>  .endfor
>  
>  do-install:
> diff --git a/textproc/es-hyphen/Makefile  b/textproc/es-hyphen/Makefile 
> new file mode 100644
> index 000000000000..2f19c36224e6
> --- /dev/null
> +++ b/textproc/es-hyphen/Makefile 	
> @@ -0,0 +1,43 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	2013.09.01	# 0.7
> +PORTEPOCH=	1
> +CATEGORIES=	textproc spanish
> +MASTER_SITES=	LOCAL/sunpoet/${PORTNAME}/
> +PKGNAMEPREFIX=	es-
> +DISTNAME=	es_any-0.7
> +EXTRACT_SUFX=	.oxt
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Spanish hyphenation rules
> +
> +LICENSE=	GPLv3 LGPL3 MPL11
> +LICENSE_COMB=	dual
> +LICENSE_FILE_GPLv3=	${WRKSRC}/GPLv3.txt
> +LICENSE_FILE_LGPL3=	${WRKSRC}/LGPLv3.txt
> +LICENSE_FILE_MPL11=	${WRKSRC}/MPL-1.1.txt
> +
> +BROKEN_armv6=	fails to package: tar: Pathname cannot be converted from UTF-8 to current locale
> +BROKEN_armv7=	fails to package: tar: Pathname cannot be converted from UTF-8 to current locale
> +BROKEN_mips=	fails to package: tar: Pathname cannot be converted from UTF-8 to current locale
> +
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +NO_WRKSUBDIR=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_es_ES.dic
> +
> +ESALIASES=	es_AR es_BO es_CL es_CO es_CR es_CU es_DO es_EC es_GT es_HN \
> +		es_MX es_NI es_PA es_PE es_PR es_PY es_SV es_US es_UY es_VE
> +.for ALIAS in ${ESALIASES}
> +PLIST_FILES+=	%%DATADIR%%/hyph_${ALIAS}.dic
> +.endfor
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_es_ANY.dic ${STAGEDIR}${DATADIR}/hyph_es_ES.dic
> +.for ALIAS in ${ESALIASES}
> +	${LN} -s hyph_es_ES.dic ${STAGEDIR}${DATADIR}/hyph_${ALIAS}.dic
> +.endfor
> +
> +.include <bsd.port.mk>
> diff --git a/textproc/hyphen/Makefile b/textproc/hyphen/Makefile
> index c62cf41b952c..838f4f61ddd3 100644
> --- a/textproc/hyphen/Makefile
> +++ b/textproc/hyphen/Makefile
> @@ -24,13 +24,13 @@ PLIST_FILES=	bin/substrings.pl \
>  		lib/libhyphen.so \
>  		lib/libhyphen.so.0 \
>  		lib/libhyphen.so.0.3.0 \
> -		%%DATADIR%%/hyph_en_US.dic
> +		${DATADIR}/hyph_en_US.dic
>  
>  USALIASES=	en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_HK \
>  		en_IE en_IN en_JM en_NA en_NZ en_PH en_SG en_TT en_ZA en_ZW
>  
>  .for ALIAS in ${USALIASES}
> -PLIST_FILES+=	%%DATADIR%%/hyph_${ALIAS}.dic
> +PLIST_FILES+=	${DATADIR}/hyph_${ALIAS}.dic
>  .endfor
>  
>  post-install:
> diff --git a/textproc/hyphen/Makefile  b/textproc/hyphen/Makefile 
> new file mode 100644
> index 000000000000..c62cf41b952c
> --- /dev/null
> +++ b/textproc/hyphen/Makefile 	
> @@ -0,0 +1,41 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	2.8.8
> +CATEGORIES=	textproc
> +MASTER_SITES=	SF/hunspell/Hyphen/${PORTVERSION:R}/
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Library for high quality hyphenation and justification
> +
> +LICENSE=	LGPL21+ MPL11
> +LICENSE_COMB=	dual
> +LICENSE_FILE_LGPL21+ =	${WRKSRC}/COPYING.LGPL
> +LICENSE_FILE_MPL11=	${WRKSRC}/COPYING.MPL
> +
> +GNU_CONFIGURE=	yes
> +USES=		libtool pathfix perl5 shebangfix
> +USE_LDCONFIG=	yes
> +SHEBANG_FILES=	substrings.pl
> +INSTALL_TARGET=	install-strip
> +
> +PLIST_FILES=	bin/substrings.pl \
> +		include/hyphen.h \
> +		lib/libhyphen.a \
> +		lib/libhyphen.so \
> +		lib/libhyphen.so.0 \
> +		lib/libhyphen.so.0.3.0 \
> +		%%DATADIR%%/hyph_en_US.dic
> +
> +USALIASES=	en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_HK \
> +		en_IE en_IN en_JM en_NA en_NZ en_PH en_SG en_TT en_ZA en_ZW
> +
> +.for ALIAS in ${USALIASES}
> +PLIST_FILES+=	%%DATADIR%%/hyph_${ALIAS}.dic
> +.endfor
> +
> +post-install:
> +.for ALIAS in ${USALIASES}
> +	${LN} -s hyph_en_US.dic ${STAGEDIR}${DATADIR}/hyph_${ALIAS}.dic
> +.endfor
> +
> +.include <bsd.port.mk>
> diff --git a/textproc/id-hyphen/Makefile b/textproc/id-hyphen/Makefile
> index 649953ef761f..44c53f9ac92f 100644
> --- a/textproc/id-hyphen/Makefile
> +++ b/textproc/id-hyphen/Makefile
> @@ -17,7 +17,7 @@ NO_ARCH=	yes
>  NO_BUILD=	yes
>  NO_WRKSUBDIR=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_id_ID.dic
> +PLIST_FILES=	${DATADIR}/hyph_id_ID.dic
>  
>  do-install:
>  	${MKDIR} ${STAGEDIR}${DATADIR}/
> diff --git a/textproc/id-hyphen/Makefile  b/textproc/id-hyphen/Makefile 
> new file mode 100644
> index 000000000000..649953ef761f
> --- /dev/null
> +++ b/textproc/id-hyphen/Makefile 	
> @@ -0,0 +1,26 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	2004.08.12
> +PORTREVISION=	1
> +CATEGORIES=	textproc
> +MASTER_SITES=	LOCAL/sunpoet/${PORTNAME}/
> +PKGNAMEPREFIX=	id-
> +DISTNAME=	hyph_id_ID-${PORTVERSION:C/\.//g}
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Indonesian hyphenation rules
> +
> +LICENSE=	LGPL21
> +
> +USES=		zip
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +NO_WRKSUBDIR=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_id_ID.dic
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_id_ID.dic ${STAGEDIR}${DATADIR}/
> +
> +.include <bsd.port.mk>
> diff --git a/textproc/is-hyphen/Makefile b/textproc/is-hyphen/Makefile
> index 96f0634f4e03..0fe3375f9d0e 100644
> --- a/textproc/is-hyphen/Makefile
> +++ b/textproc/is-hyphen/Makefile
> @@ -17,7 +17,7 @@ NO_ARCH=	yes
>  NO_BUILD=	yes
>  NO_WRKSUBDIR=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_is_IS.dic
> +PLIST_FILES=	${DATADIR}/hyph_is_IS.dic
>  
>  do-install:
>  	${MKDIR} ${STAGEDIR}${DATADIR}/
> diff --git a/textproc/is-hyphen/Makefile  b/textproc/is-hyphen/Makefile 
> new file mode 100644
> index 000000000000..96f0634f4e03
> --- /dev/null
> +++ b/textproc/is-hyphen/Makefile 	
> @@ -0,0 +1,26 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	2004.04.15
> +PORTREVISION=	1
> +CATEGORIES=	textproc
> +MASTER_SITES=	LOCAL/sunpoet/${PORTNAME}/
> +PKGNAMEPREFIX=	is-
> +DISTNAME=	hyph_is_IS-${PORTVERSION:C/\.//g}
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Icelandic hyphenation rules
> +
> +LICENSE=	LGPL21
> +
> +USES=		zip
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +NO_WRKSUBDIR=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_is_IS.dic
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_is_IS.dic ${STAGEDIR}${DATADIR}/
> +
> +.include <bsd.port.mk>
> 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 at 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>
> diff --git a/textproc/lt-hyphen/Makefile b/textproc/lt-hyphen/Makefile
> index 90bfc08cb485..88e12697237c 100644
> --- a/textproc/lt-hyphen/Makefile
> +++ b/textproc/lt-hyphen/Makefile
> @@ -17,7 +17,7 @@ NO_ARCH=	yes
>  NO_BUILD=	yes
>  NO_WRKSUBDIR=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_lt_LT.dic
> +PLIST_FILES=	${DATADIR}/hyph_lt_LT.dic
>  
>  do-install:
>  	${MKDIR} ${STAGEDIR}${DATADIR}/
> diff --git a/textproc/lt-hyphen/Makefile  b/textproc/lt-hyphen/Makefile 
> new file mode 100644
> index 000000000000..90bfc08cb485
> --- /dev/null
> +++ b/textproc/lt-hyphen/Makefile 	
> @@ -0,0 +1,26 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	2004.04.15
> +PORTREVISION=	1
> +CATEGORIES=	textproc
> +MASTER_SITES=	LOCAL/sunpoet/${PORTNAME}/
> +PKGNAMEPREFIX=	lt-
> +DISTNAME=	hyph_lt_LT-${PORTVERSION:C/\.//g}
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Lithuanian hyphenation rules
> +
> +LICENSE=	LGPL21
> +
> +USES=		zip
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +NO_WRKSUBDIR=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_lt_LT.dic
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_lt_LT.dic ${STAGEDIR}${DATADIR}/
> +
> +.include <bsd.port.mk>
> diff --git a/textproc/nl-hyphen/Makefile b/textproc/nl-hyphen/Makefile
> index a4055f3fd62f..fa11d5d62748 100644
> --- a/textproc/nl-hyphen/Makefile
> +++ b/textproc/nl-hyphen/Makefile
> @@ -17,7 +17,7 @@ NO_ARCH=	yes
>  NO_BUILD=	yes
>  NO_WRKSUBDIR=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_nl_NL.dic
> +PLIST_FILES=	${DATADIR}/hyph_nl_NL.dic
>  
>  do-install:
>  	${MKDIR} ${STAGEDIR}${DATADIR}/
> diff --git a/textproc/nl-hyphen/Makefile  b/textproc/nl-hyphen/Makefile 
> new file mode 100644
> index 000000000000..a4055f3fd62f
> --- /dev/null
> +++ b/textproc/nl-hyphen/Makefile 	
> @@ -0,0 +1,26 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	2005.10.16
> +PORTREVISION=	1
> +CATEGORIES=	textproc
> +MASTER_SITES=	LOCAL/sunpoet/${PORTNAME}/
> +PKGNAMEPREFIX=	nl-
> +DISTNAME=	hyph_nl_NL-${PORTVERSION:C/\.//g}
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Dutch hyphenation rules
> +
> +LICENSE=	LGPL21
> +
> +USES=		zip
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +NO_WRKSUBDIR=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_nl_NL.dic
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_nl_NL.dic ${STAGEDIR}${DATADIR}/
> +
> +.include <bsd.port.mk>
> diff --git a/textproc/ro-hyphen/Makefile b/textproc/ro-hyphen/Makefile
> index d15f53ff99bf..be6e83cd234b 100644
> --- a/textproc/ro-hyphen/Makefile
> +++ b/textproc/ro-hyphen/Makefile
> @@ -17,7 +17,7 @@ NO_ARCH=	yes
>  NO_BUILD=	yes
>  NO_WRKSUBDIR=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_ro_RO.dic
> +PLIST_FILES=	${DATADIR}/hyph_ro_RO.dic
>  
>  do-install:
>  	${MKDIR} ${STAGEDIR}${DATADIR}/
> diff --git a/textproc/ro-hyphen/Makefile  b/textproc/ro-hyphen/Makefile 
> new file mode 100644
> index 000000000000..d15f53ff99bf
> --- /dev/null
> +++ b/textproc/ro-hyphen/Makefile 	
> @@ -0,0 +1,26 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	3.3.10
> +CATEGORIES=	textproc
> +MASTER_SITES=	SF/rospell/Romanian%20dictionaries/dict-${PORTVERSION}/
> +PKGNAMEPREFIX=	ro-
> +DISTNAME=	hyph_ro_RO.${PORTVERSION}
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Romanian hyphenation rules
> +
> +LICENSE=	GPLv2+
> +LICENSE_FILE=	${WRKSRC}/COPYING.GPL
> +
> +USES=		zip
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +NO_WRKSUBDIR=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_ro_RO.dic
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_ro_RO.dic ${STAGEDIR}${DATADIR}/
> +
> +.include <bsd.port.mk>
> diff --git a/textproc/sk-hyphen/Makefile b/textproc/sk-hyphen/Makefile
> index 5fb201e8cb1c..869bde1776b0 100644
> --- a/textproc/sk-hyphen/Makefile
> +++ b/textproc/sk-hyphen/Makefile
> @@ -17,7 +17,7 @@ NO_ARCH=	yes
>  NO_BUILD=	yes
>  NO_WRKSUBDIR=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_sk_SK.dic
> +PLIST_FILES=	${DATADIR}/hyph_sk_SK.dic
>  
>  do-install:
>  	${MKDIR} ${STAGEDIR}${DATADIR}/
> diff --git a/textproc/sk-hyphen/Makefile  b/textproc/sk-hyphen/Makefile 
> new file mode 100644
> index 000000000000..5fb201e8cb1c
> --- /dev/null
> +++ b/textproc/sk-hyphen/Makefile 	
> @@ -0,0 +1,26 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	2004.04.15
> +PORTREVISION=	1
> +CATEGORIES=	textproc
> +MASTER_SITES=	LOCAL/sunpoet/${PORTNAME}/
> +PKGNAMEPREFIX=	sk-
> +DISTNAME=	hyph_sk_SK-${PORTVERSION:C/\.//g}
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Slovak hyphenation rules
> +
> +LICENSE=	LGPL21
> +
> +USES=		zip
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +NO_WRKSUBDIR=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_sk_SK.dic
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_sk_SK.dic ${STAGEDIR}${DATADIR}/
> +
> +.include <bsd.port.mk>
> diff --git a/textproc/sl-hyphen/Makefile b/textproc/sl-hyphen/Makefile
> index 08623c01196e..17287770bbbd 100644
> --- a/textproc/sl-hyphen/Makefile
> +++ b/textproc/sl-hyphen/Makefile
> @@ -17,7 +17,7 @@ NO_ARCH=	yes
>  NO_BUILD=	yes
>  NO_WRKSUBDIR=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_sl_SI.dic
> +PLIST_FILES=	${DATADIR}/hyph_sl_SI.dic
>  
>  do-install:
>  	${MKDIR} ${STAGEDIR}${DATADIR}/
> diff --git a/textproc/sl-hyphen/Makefile  b/textproc/sl-hyphen/Makefile 
> new file mode 100644
> index 000000000000..08623c01196e
> --- /dev/null
> +++ b/textproc/sl-hyphen/Makefile 	
> @@ -0,0 +1,26 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	2007.01.27
> +PORTREVISION=	1
> +CATEGORIES=	textproc
> +MASTER_SITES=	LOCAL/sunpoet/${PORTNAME}/
> +PKGNAMEPREFIX=	sl-
> +DISTNAME=	hyph_sl_SI-${PORTVERSION:C/\.//g}
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Slovenian hyphenation rules
> +
> +LICENSE=	LGPL21
> +
> +USES=		zip
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +NO_WRKSUBDIR=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_sl_SI.dic
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_sl_SI.dic ${STAGEDIR}${DATADIR}/
> +
> +.include <bsd.port.mk>
> diff --git a/ukrainian/hyphen/Makefile b/ukrainian/hyphen/Makefile
> index 1f516deb9580..5ab570fb0320 100644
> --- a/ukrainian/hyphen/Makefile
> +++ b/ukrainian/hyphen/Makefile
> @@ -16,7 +16,7 @@ NO_ARCH=	yes
>  NO_BUILD=	yes
>  NO_WRKSUBDIR=	yes
>  
> -PLIST_FILES=	%%DATADIR%%/hyph_uk_UA.dic
> +PLIST_FILES=	${DATADIR}/hyph_uk_UA.dic
>  
>  do-install:
>  	${MKDIR} ${STAGEDIR}${DATADIR}/
> diff --git a/ukrainian/hyphen/Makefile  b/ukrainian/hyphen/Makefile 
> new file mode 100644
> index 000000000000..1f516deb9580
> --- /dev/null
> +++ b/ukrainian/hyphen/Makefile 	
> @@ -0,0 +1,25 @@
> +PORTNAME=	hyphen
> +PORTVERSION=	2005.03.08
> +PORTREVISION=	1
> +CATEGORIES=	ukrainian textproc
> +MASTER_SITES=	LOCAL/sunpoet/${PORTNAME}/
> +DISTNAME=	hyph_uk_UA-${PORTVERSION:C/\.//g}
> +DIST_SUBDIR=	${PORTNAME}
> +
> +MAINTAINER=	office at FreeBSD.org
> +COMMENT=	Ukrainian hyphenation rules
> +
> +LICENSE=	LGPL21
> +
> +USES=		zip
> +NO_ARCH=	yes
> +NO_BUILD=	yes
> +NO_WRKSUBDIR=	yes
> +
> +PLIST_FILES=	%%DATADIR%%/hyph_uk_UA.dic
> +
> +do-install:
> +	${MKDIR} ${STAGEDIR}${DATADIR}/
> +	${INSTALL_DATA} ${WRKSRC}/hyph_uk_UA.dic ${STAGEDIR}${DATADIR}/
> +
> +.include <bsd.port.mk>
> 


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/dev-commits-ports-all/attachments/20210920/9815803e/attachment.sig>


More information about the dev-commits-ports-all mailing list