mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
STAGEDIR support.
This commit is contained in:
parent
eeb0ebc5e9
commit
a8687e8806
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355072
@ -40,19 +40,22 @@ TRAD_FILES= Adobe-CNS1.cidToUnicode Big5.unicodeMap \
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/chinese-simplified
|
||||
cd ${WRKSRC}/xpdf-chinese-simplified \
|
||||
&& ${INSTALL_DATA} ${SIMP_FILES} ${STAGEDIR}${DATADIR}/chinese-simplified
|
||||
cd ${WRKSRC}/xpdf-chinese-simplified && \
|
||||
${INSTALL_DATA} ${SIMP_FILES} \
|
||||
${STAGEDIR}${DATADIR}/chinese-simplified
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/chinese-traditional
|
||||
cd ${WRKSRC}/xpdf-chinese-traditional \
|
||||
&& ${INSTALL_DATA} ${TRAD_FILES} ${STAGEDIR}${DATADIR}/chinese-traditional
|
||||
${INSTALL_DATA} ${WRKSRC}/dot.xpdfrc ${STAGEDIR}${DATADIR}/chinese-traditional
|
||||
cd ${WRKSRC}/xpdf-chinese-traditional && \
|
||||
${INSTALL_DATA} ${TRAD_FILES} \
|
||||
${STAGEDIR}${DATADIR}/chinese-traditional
|
||||
${INSTALL_DATA} ${WRKSRC}/dot.xpdfrc \
|
||||
${STAGEDIR}${DATADIR}/chinese-traditional
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/chinese-traditional/CMap
|
||||
cd ${STAGEDIR}${DATADIR}/chinese-traditional/CMap && \
|
||||
${FIND} ${ADOBECMAPDIR}/ac15/CMap \
|
||||
-type f -exec ${LN} -s -f {} . \;
|
||||
${FIND} ${ADOBECMAPDIR}/ac15/CMap \
|
||||
-type f -exec ${LN} -s -f {} . \;
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/chinese-simplified/CMap
|
||||
cd ${STAGEDIR}${DATADIR}/chinese-simplified/CMap && \
|
||||
${FIND} ${ADOBECMAPDIR}/ag15/CMap \
|
||||
-type f -exec ${LN} -s -f {} . \;
|
||||
${FIND} ${ADOBECMAPDIR}/ag15/CMap \
|
||||
-type f -exec ${LN} -s -f {} . \;
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,4 @@
|
||||
@comment $FreeBSD$
|
||||
%%DATADIR%%/chinese-simplified/Adobe-GB1.cidToUnicode
|
||||
%%DATADIR%%/chinese-simplified/EUC-CN.unicodeMap
|
||||
%%DATADIR%%/chinese-simplified/GBK.unicodeMap
|
||||
|
@ -31,23 +31,13 @@ INSTALL_FILES= Adobe-Japan1.cidToUnicode ISO-2022-JP.unicodeMap \
|
||||
EUC-JP.unicodeMap Shift-JIS.unicodeMap \
|
||||
README ../dot.xpdfrc
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${MKDIR} ${DATADIR}/japanese
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/japanese
|
||||
cd ${WRKSRC} && \
|
||||
${INSTALL_DATA} ${INSTALL_FILES} ${DATADIR}/japanese
|
||||
${MKDIR} ${DATADIR}/japanese/CMap
|
||||
cd ${DATADIR}/japanese/CMap && \
|
||||
${FIND} ${ADOBECMAPDIR}/aj16/CMap ${ADOBECMAPDIR}/aj20/CMap \
|
||||
-type f -exec ${LN} -s -f {} . \;
|
||||
|
||||
post-install:
|
||||
exec < ${LOCALBASE}/etc/xpdfrc; \
|
||||
${RM} -f ${LOCALBASE}/etc/xpdfrc; \
|
||||
( ${GREP} -v "${EXTRARC}"; \
|
||||
${ECHO_CMD} "include ${EXTRARC}" ) \
|
||||
> ${LOCALBASE}/etc/xpdfrc
|
||||
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${LOCALBASE}/etc/xpdfrc
|
||||
${CHMOD} 0444 ${LOCALBASE}/etc/xpdfrc
|
||||
${INSTALL_DATA} ${INSTALL_FILES} ${STAGEDIR}${DATADIR}/japanese
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/japanese/CMap
|
||||
cd ${STAGEDIR}${DATADIR}/japanese/CMap && \
|
||||
${FIND} ${ADOBECMAPDIR}/aj16/CMap ${ADOBECMAPDIR}/aj20/CMap \
|
||||
-type f -exec ${LN} -s -f {} . \;
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,4 @@
|
||||
@comment $FreeBSD$
|
||||
%%DATADIR%%/japanese/Adobe-Japan1.cidToUnicode
|
||||
%%DATADIR%%/japanese/EUC-JP.unicodeMap
|
||||
%%DATADIR%%/japanese/ISO-2022-JP.unicodeMap
|
||||
|
@ -28,23 +28,13 @@ ADOBECMAPDIR= ${LOCALBASE}/share/fonts/adobe-cmaps
|
||||
INSTALL_FILES= Adobe-Korea1.cidToUnicode ISO-2022-KR.unicodeMap \
|
||||
README ../dot.xpdfrc
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${MKDIR} ${DATADIR}/korean
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/korean
|
||||
cd ${WRKSRC} && \
|
||||
${INSTALL_DATA} ${INSTALL_FILES} ${DATADIR}/korean
|
||||
${MKDIR} ${DATADIR}/korean/CMap
|
||||
cd ${DATADIR}/korean/CMap && \
|
||||
${FIND} ${ADOBECMAPDIR}/ak12/CMap \
|
||||
-type f -exec ${LN} -s -f {} . \;
|
||||
|
||||
post-install:
|
||||
exec < ${LOCALBASE}/etc/xpdfrc; \
|
||||
${RM} -f ${LOCALBASE}/etc/xpdfrc; \
|
||||
( ${GREP} -v "${EXTRARC}"; \
|
||||
${ECHO_CMD} "include ${EXTRARC}" ) \
|
||||
> ${LOCALBASE}/etc/xpdfrc
|
||||
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${LOCALBASE}/etc/xpdfrc
|
||||
${CHMOD} 0444 ${LOCALBASE}/etc/xpdfrc
|
||||
${INSTALL_DATA} ${INSTALL_FILES} ${STAGEDIR}${DATADIR}/korean
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/korean/CMap
|
||||
cd ${STAGEDIR}${DATADIR}/korean/CMap && \
|
||||
${FIND} ${ADOBECMAPDIR}/ak12/CMap \
|
||||
-type f -exec ${LN} -s -f {} . \;
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,4 @@
|
||||
@comment $FreeBSD$
|
||||
%%DATADIR%%/korean/Adobe-Korea1.cidToUnicode
|
||||
%%DATADIR%%/korean/ISO-2022-KR.unicodeMap
|
||||
%%DATADIR%%/korean/README
|
||||
|
Loading…
Reference in New Issue
Block a user