mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Rename chinese/ patch-xy patches to reflect the files the modify.
This commit is contained in:
parent
3e07c4cec3
commit
5ed82c18c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363162
@ -16,7 +16,7 @@ LIB_DEPENDS= libttf.so:${PORTSDIR}/print/freetype
|
||||
USE_PYTHON= yes
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bg5ps ${STAGEDIR}${PREFIX}/bin
|
||||
@ -24,7 +24,7 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/bg5ps.conf ${STAGEDIR}${PREFIX}/etc/bg5ps.conf.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/gb2312-bg5ps.conf ${STAGEDIR}${PREFIX}/etc/gb2312-bg5ps.conf.sample
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/netscape.ps ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/test.big5 ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
@ -11,14 +11,14 @@
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/bg5ps.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/makeps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ttf2ps.doc
|
||||
%%EXAMPLESDIR%%/netscape.ps
|
||||
%%EXAMPLESDIR%%/test.big5
|
||||
%%EXAMPLESDIR%%/test.gb2312
|
||||
%%EXAMPLESDIR%%/test.sh
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/netscape.ps
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.big5
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.gb2312
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.sh
|
||||
bin/bg5ps
|
||||
bin/ttf2psm
|
||||
etc/bg5ps.conf.sample
|
||||
etc/gb2312-bg5ps.conf.sample
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
@ -15,12 +15,9 @@ CPP= #
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/cless
|
||||
${INSTALL_DATA} ${WRKSRC}/README.CLESS ${STAGEDIR}${PREFIX}/share/doc/cless
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.CLESS ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -19,8 +19,6 @@ WRKSRC= ${WRKDIR}/GB2PS
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/chinese/gb
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gb2ps ${STAGEDIR}${PREFIX}/bin
|
||||
@ -28,9 +26,7 @@ do-install:
|
||||
.for font in csong24.ccf ckai24.ccf cfang24.ccf chei24.ccf cfan24.ccf
|
||||
${GUNZIP_CMD} -c ${DISTDIR}/${font}.gz > ${STAGEDIR}${PREFIX}/share/chinese/gb/${font}
|
||||
.endfor
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/gb2ps
|
||||
${INSTALL_DATA} ${WRKSRC}/gb2ps.help ${STAGEDIR}${PREFIX}/share/doc/gb2ps
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/gb2ps.help ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user