diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-09-19 05:31:28 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-09-19 06:00:48 +0000 |
commit | 915dbfaa562e20c8402d3873f8bfbf07899f9f8a (patch) | |
tree | 31846497e11ce47118708aa782fe87dbb6a7599f /german | |
parent | aa9edcc217007fd4a39e10ee17805dd350c25381 (diff) | |
download | ports-915dbfaa562e20c8402d3873f8bfbf07899f9f8a.tar.gz ports-915dbfaa562e20c8402d3873f8bfbf07899f9f8a.zip |
*/*hyphen: Avoid using %% in Makefile
Use ${DATAIDR} instead of %%DATADIR%%
Diffstat (limited to 'german')
-rw-r--r-- | german/hyphen/Makefile | 4 | ||||
-rw-r--r-- | german/hyphen/Makefile | 33 |
2 files changed, 35 insertions, 2 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@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> |