aboutsummaryrefslogtreecommitdiff
path: root/chinese/bg5ps
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-08-14 05:31:57 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-08-14 05:31:57 +0000
commita34cec1a6247ba0b2a25019cb5717dcf593018c5 (patch)
treeafa3a28c767a57f1e76a0bb46ff686e630afd2a7 /chinese/bg5ps
parent1ac0f1d69c7a052ba722c2f5f56820840e8d73db (diff)
downloadports-a34cec1a6247ba0b2a25019cb5717dcf593018c5.tar.gz
ports-a34cec1a6247ba0b2a25019cb5717dcf593018c5.zip
Notes
Diffstat (limited to 'chinese/bg5ps')
-rw-r--r--chinese/bg5ps/Makefile24
-rw-r--r--chinese/bg5ps/pkg-plist41
2 files changed, 34 insertions, 31 deletions
diff --git a/chinese/bg5ps/Makefile b/chinese/bg5ps/Makefile
index 273895c13950..ddb36977238d 100644
--- a/chinese/bg5ps/Makefile
+++ b/chinese/bg5ps/Makefile
@@ -20,17 +20,19 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
do-install:
- @${MKDIR} ${PREFIX}/share/doc/bg5ps
- @${MKDIR} ${PREFIX}/share/examples/bg5ps
- ${INSTALL_SCRIPT} ${WRKSRC}/bg5ps ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/ttf2psm ${PREFIX}/bin
- ${CP} -R ${WRKSRC}/doc/* ${PREFIX}/share/doc/bg5ps
- ${INSTALL_DATA} ${WRKSRC}/bg5ps.conf ${PREFIX}/etc/bg5ps.conf.sample
- ${INSTALL_DATA} ${WRKSRC}/gb2312-bg5ps.conf ${PREFIX}/etc/gb2312-bg5ps.conf.sample
- ${INSTALL_DATA} ${WRKSRC}/examples/netscape.ps ${PREFIX}/share/examples/bg5ps
- ${INSTALL_DATA} ${WRKSRC}/examples/test.big5 ${PREFIX}/share/examples/bg5ps
- ${INSTALL_DATA} ${WRKSRC}/examples/test.gb2312 ${PREFIX}/share/examples/bg5ps
- ${INSTALL_SCRIPT} ${WRKSRC}/examples/test.sh ${PREFIX}/share/examples/bg5ps
+ ${INSTALL_SCRIPT} ${WRKSRC}/bg5ps ${TARGETDIR}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/ttf2psm ${TARGETDIR}/bin
+ ${INSTALL_DATA} ${WRKSRC}/bg5ps.conf ${TARGETDIR}/etc/bg5ps.conf.sample
+ ${INSTALL_DATA} ${WRKSRC}/gb2312-bg5ps.conf ${TARGETDIR}/etc/gb2312-bg5ps.conf.sample
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
+.endif
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/netscape.ps ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/test.big5 ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/test.gb2312 ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/examples/test.sh ${EXAMPLESDIR}
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/chinese/bg5ps/pkg-plist b/chinese/bg5ps/pkg-plist
index 07c0a03bdbc4..1ba16df13db4 100644
--- a/chinese/bg5ps/pkg-plist
+++ b/chinese/bg5ps/pkg-plist
@@ -1,24 +1,25 @@
+@comment $FreeBSD$
+%%PORTDOCS%%%%DOCSDIR%%/COPYING.txt
+%%PORTDOCS%%%%DOCSDIR%%/bg5ps.sgml
+%%PORTDOCS%%%%DOCSDIR%%/bg5ps.txt
+%%PORTDOCS%%%%DOCSDIR%%/html/bg5ps-1.html
+%%PORTDOCS%%%%DOCSDIR%%/html/bg5ps-2.html
+%%PORTDOCS%%%%DOCSDIR%%/html/bg5ps-3.html
+%%PORTDOCS%%%%DOCSDIR%%/html/bg5ps-4.html
+%%PORTDOCS%%%%DOCSDIR%%/html/bg5ps-5.html
+%%PORTDOCS%%%%DOCSDIR%%/html/bg5ps-6.html
+%%PORTDOCS%%%%DOCSDIR%%/html/bg5ps-7.html
+%%PORTDOCS%%%%DOCSDIR%%/html/bg5ps.html
+%%PORTDOCS%%%%DOCSDIR%%/makeps
+%%PORTDOCS%%%%DOCSDIR%%/ttf2ps.doc
+%%EXAMPLESDIR%%/netscape.ps
+%%EXAMPLESDIR%%/test.big5
+%%EXAMPLESDIR%%/test.gb2312
+%%EXAMPLESDIR%%/test.sh
bin/bg5ps
bin/ttf2psm
etc/bg5ps.conf.sample
etc/gb2312-bg5ps.conf.sample
-share/doc/bg5ps/COPYING.txt
-share/doc/bg5ps/bg5ps.sgml
-share/doc/bg5ps/bg5ps.txt
-share/doc/bg5ps/html/bg5ps.html
-share/doc/bg5ps/html/bg5ps-1.html
-share/doc/bg5ps/html/bg5ps-2.html
-share/doc/bg5ps/html/bg5ps-3.html
-share/doc/bg5ps/html/bg5ps-4.html
-share/doc/bg5ps/html/bg5ps-5.html
-share/doc/bg5ps/html/bg5ps-6.html
-share/doc/bg5ps/html/bg5ps-7.html
-share/doc/bg5ps/makeps
-share/doc/bg5ps/ttf2ps.doc
-share/examples/bg5ps/netscape.ps
-share/examples/bg5ps/test.big5
-share/examples/bg5ps/test.gb2312
-share/examples/bg5ps/test.sh
-@dirrm share/doc/bg5ps/html
-@dirrm share/doc/bg5ps
-@dirrm share/examples/bg5ps
+@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%