diff options
-rw-r--r-- | chinese/xpdf/Makefile | 21 | ||||
-rw-r--r-- | chinese/xpdf/pkg-plist | 1 | ||||
-rw-r--r-- | japanese/xpdf/Makefile | 22 | ||||
-rw-r--r-- | japanese/xpdf/pkg-plist | 1 | ||||
-rw-r--r-- | korean/xpdf/Makefile | 22 | ||||
-rw-r--r-- | korean/xpdf/pkg-plist | 1 |
6 files changed, 27 insertions, 41 deletions
diff --git a/chinese/xpdf/Makefile b/chinese/xpdf/Makefile index 62cd6a4cde79..e16b86686922 100644 --- a/chinese/xpdf/Makefile +++ b/chinese/xpdf/Makefile @@ -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> diff --git a/chinese/xpdf/pkg-plist b/chinese/xpdf/pkg-plist index c49e3da2f57c..16203cf050f3 100644 --- a/chinese/xpdf/pkg-plist +++ b/chinese/xpdf/pkg-plist @@ -1,3 +1,4 @@ +@comment $FreeBSD$ %%DATADIR%%/chinese-simplified/Adobe-GB1.cidToUnicode %%DATADIR%%/chinese-simplified/EUC-CN.unicodeMap %%DATADIR%%/chinese-simplified/GBK.unicodeMap diff --git a/japanese/xpdf/Makefile b/japanese/xpdf/Makefile index c92b1cb3554f..06a406cc22a7 100644 --- a/japanese/xpdf/Makefile +++ b/japanese/xpdf/Makefile @@ -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> diff --git a/japanese/xpdf/pkg-plist b/japanese/xpdf/pkg-plist index e367206ffea5..4d5cd545ff81 100644 --- a/japanese/xpdf/pkg-plist +++ b/japanese/xpdf/pkg-plist @@ -1,3 +1,4 @@ +@comment $FreeBSD$ %%DATADIR%%/japanese/Adobe-Japan1.cidToUnicode %%DATADIR%%/japanese/EUC-JP.unicodeMap %%DATADIR%%/japanese/ISO-2022-JP.unicodeMap diff --git a/korean/xpdf/Makefile b/korean/xpdf/Makefile index 9ca342e4783d..dd876a1382ba 100644 --- a/korean/xpdf/Makefile +++ b/korean/xpdf/Makefile @@ -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> diff --git a/korean/xpdf/pkg-plist b/korean/xpdf/pkg-plist index 409596139c24..b8cf16cc7d6d 100644 --- a/korean/xpdf/pkg-plist +++ b/korean/xpdf/pkg-plist @@ -1,3 +1,4 @@ +@comment $FreeBSD$ %%DATADIR%%/korean/Adobe-Korea1.cidToUnicode %%DATADIR%%/korean/ISO-2022-KR.unicodeMap %%DATADIR%%/korean/README |