mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
a2262e9313
Turns out that env(1) knows how to parse a properly quoted string using -S "string", it makes the double eval used for the fetch command to be unnecessary. This is because running: eval "foo $(escape $bar)" is silly when this works: foo $bar So remove escaping and quoting, and sillyness. PR: 210198 Submitted by: mat Exp-run by: antoine Sponsored by: The FreeBSD Foundation, Absolight Differential Revision: https://reviews.freebsd.org/D6779
49 lines
1.6 KiB
Makefile
49 lines
1.6 KiB
Makefile
# Created by: Nikola Lecic <nikola.lecic@anthesphoria.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kmfl-sil-ezra
|
|
PORTVERSION= 2.4
|
|
PORTREVISION= 5
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=EzraSIL251_Src.zip&filename=/:1 \
|
|
http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=EzraSIL2.5Keying&filename=/:2 \
|
|
http://anthesphoria.net/FreeBSD/ports/distfiles/${DIST_SUBDIR}/:1,2
|
|
DISTFILES= EzraSIL251_Src.zip:1 \
|
|
Keying+in+Hebrew.pdf:2
|
|
DIST_SUBDIR= kmfl
|
|
EXTRACT_ONLY= EzraSIL251_Src.zip
|
|
|
|
MAINTAINER= nikola.lecic@anthesphoria.net
|
|
COMMENT= KMFL keyboard for Unicode Biblical Hebrew
|
|
|
|
RUN_DEPENDS= kmflcomp:textproc/kmflcomp
|
|
|
|
WRKSRC= ${WRKDIR}/EzraSIL2.51
|
|
USES= dos2unix zip
|
|
DOS2UNIX_FILES= Keyman/EZRAUNI24.KMN
|
|
NO_BUILD= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
DOCSDIR= ${PREFIX}/share/doc/kmfl/${PORTNAME}
|
|
DOCSLIST= ${WRKSRC}/Licenses.txt ${WRKSRC}/README.txt \
|
|
${WRKSRC}/WordDocs/Ezra\ SIL\ Keyboard\ Chart.doc \
|
|
${DISTDIR}/${DIST_SUBDIR}/Keying+in+Hebrew.pdf \
|
|
${WRKSRC}/WordDocs/Simplified\ keyboard\ chart.doc
|
|
|
|
KMFL_DIR= share/kmfl
|
|
KMFL_ICONS_DIR= share/kmfl/icons
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${KMFL_DIR} ${STAGEDIR}${PREFIX}/${KMFL_ICONS_DIR}
|
|
${CP} -f ${WRKSRC}/Keyman/EZRAUNI24.KMN ${WRKSRC}/Keyman/EZRAUNI24.kmn
|
|
${INSTALL_DATA} ${WRKSRC}/Keyman/*.kmn ${STAGEDIR}${PREFIX}/${KMFL_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/Keyman/*.bmp ${STAGEDIR}${PREFIX}/${KMFL_ICONS_DIR}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
for doc in ${DOCSLIST} ; do \
|
|
${INSTALL_DATA} "$$doc" ${STAGEDIR}${DOCSDIR} ; \
|
|
done
|
|
|
|
.include <bsd.port.mk>
|