1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Rename chinese/ patch-xy patches to reflect the files the modify.

This commit is contained in:
Adam Weinberger 2014-07-28 14:37:20 +00:00
parent 3e07c4cec3
commit 5ed82c18c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363162
30 changed files with 11 additions and 18 deletions

View File

@ -16,7 +16,7 @@ LIB_DEPENDS= libttf.so:${PORTSDIR}/print/freetype
USE_PYTHON= yes USE_PYTHON= yes
SUB_FILES= pkg-message SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS OPTIONS_DEFINE= DOCS EXAMPLES
do-install: do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bg5ps ${STAGEDIR}${PREFIX}/bin ${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}/bg5ps.conf ${STAGEDIR}${PREFIX}/etc/bg5ps.conf.sample
${INSTALL_DATA} ${WRKSRC}/gb2312-bg5ps.conf ${STAGEDIR}${PREFIX}/etc/gb2312-bg5ps.conf.sample ${INSTALL_DATA} ${WRKSRC}/gb2312-bg5ps.conf ${STAGEDIR}${PREFIX}/etc/gb2312-bg5ps.conf.sample
@${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/netscape.ps ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/netscape.ps ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/test.big5 ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/test.big5 ${STAGEDIR}${EXAMPLESDIR}

View File

@ -11,14 +11,14 @@
%%PORTDOCS%%%%DOCSDIR%%/html/bg5ps.html %%PORTDOCS%%%%DOCSDIR%%/html/bg5ps.html
%%PORTDOCS%%%%DOCSDIR%%/makeps %%PORTDOCS%%%%DOCSDIR%%/makeps
%%PORTDOCS%%%%DOCSDIR%%/ttf2ps.doc %%PORTDOCS%%%%DOCSDIR%%/ttf2ps.doc
%%EXAMPLESDIR%%/netscape.ps %%PORTEXAMPLES%%%%EXAMPLESDIR%%/netscape.ps
%%EXAMPLESDIR%%/test.big5 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.big5
%%EXAMPLESDIR%%/test.gb2312 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.gb2312
%%EXAMPLESDIR%%/test.sh %%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.sh
bin/bg5ps bin/bg5ps
bin/ttf2psm bin/ttf2psm
etc/bg5ps.conf.sample etc/bg5ps.conf.sample
etc/gb2312-bg5ps.conf.sample etc/gb2312-bg5ps.conf.sample
@dirrm %%EXAMPLESDIR%% %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html %%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%%

View File

@ -15,12 +15,9 @@ CPP= #
OPTIONS_DEFINE= DOCS OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install: post-install:
.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/cless ${INSTALL_DATA} ${WRKSRC}/README.CLESS ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.CLESS ${STAGEDIR}${PREFIX}/share/doc/cless
.endif
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -19,8 +19,6 @@ WRKSRC= ${WRKDIR}/GB2PS
OPTIONS_DEFINE= DOCS OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install: do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/chinese/gb @${MKDIR} ${STAGEDIR}${PREFIX}/share/chinese/gb
${INSTALL_PROGRAM} ${WRKSRC}/gb2ps ${STAGEDIR}${PREFIX}/bin ${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 .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} ${GUNZIP_CMD} -c ${DISTDIR}/${font}.gz > ${STAGEDIR}${PREFIX}/share/chinese/gb/${font}
.endfor .endfor
.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/gb2ps ${INSTALL_DATA} ${WRKSRC}/gb2ps.help ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/gb2ps.help ${STAGEDIR}${PREFIX}/share/doc/gb2ps
.endif
.include <bsd.port.mk> .include <bsd.port.mk>