summaryrefslogtreecommitdiff
path: root/chinese/cxterm
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-03-05 17:36:48 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-03-05 17:36:48 +0000
commit4fa047c92022709f56ea10b176659b9332e542dd (patch)
tree7c1fdec2e52374436b89dd3a96aceee0ccfdaf37 /chinese/cxterm
parent- Update to 0.4.10 (diff)
- utilize PORTDOCS
- remove extra file and directory
Notes
Notes: svn path=/head/; revision=130419
Diffstat (limited to 'chinese/cxterm')
-rw-r--r--chinese/cxterm/Makefile16
-rw-r--r--chinese/cxterm/pkg-plist5
2 files changed, 9 insertions, 12 deletions
diff --git a/chinese/cxterm/Makefile b/chinese/cxterm/Makefile
index 87c5ef19ef65..d5d56d8f311b 100644
--- a/chinese/cxterm/Makefile
+++ b/chinese/cxterm/Makefile
@@ -28,6 +28,8 @@ RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
WRKSRC= ${WRKDIR}/cxterm-5.0
USE_IMAKE= yes
+PORTDOCS= CXTERM.FAQ input.doc
+
MAN1= cit2tit.1 cxterm.1 hzimctrl.1 tit2cit.1
MANCOMPRESSED= yes
@@ -41,18 +43,14 @@ BROKEN= "Coredump during build on ia64"
.endif
post-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/CXterm.sh \
- ${PREFIX}/bin/CXterm
+ ${INSTALL_SCRIPT} ${WRKDIR}/CXterm.sh ${PREFIX}/bin/CXterm
# standard X11 place
- ${INSTALL_DATA} ${WRKDIR}/CXterm.ad \
- ${PREFIX}/lib/X11/app-defaults/CXterm
+ ${INSTALL_DATA} ${WRKDIR}/CXterm.ad ${PREFIX}/lib/X11/app-defaults/CXterm
# standard CXterm place
- ${INSTALL_DATA} ${WRKDIR}/CXterm.ad \
- ${PREFIX}/lib/X11/cxterm.dic/
+ ${INSTALL_DATA} ${WRKDIR}/CXterm.ad ${PREFIX}/lib/X11/cxterm.dic/
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/cxterm
- ${INSTALL_DATA} ${WRKSRC}/Doc/CXTERM.FAQ ${PREFIX}/share/doc/cxterm
- ${INSTALL_DATA} ${WRKSRC}/Doc/input.doc ${PREFIX}/share/doc/cxterm
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC}/Doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
diff --git a/chinese/cxterm/pkg-plist b/chinese/cxterm/pkg-plist
index eaf9aae4f87c..9b594e73bef7 100644
--- a/chinese/cxterm/pkg-plist
+++ b/chinese/cxterm/pkg-plist
@@ -43,11 +43,10 @@ lib/X11/cxterm.dic/ks/QJ.cit
lib/X11/fonts/chinese/hku16et.pcf.gz
lib/X11/fonts/chinese/fonts.dir
lib/X11/fonts/chinese/fonts.alias
+lib/X11/fonts/chinese/fonts.scale
lib/X11/app-defaults/CXterm
lib/X11/cxterm.dic/CXterm.ad
-%%PORTDOCS%%share/doc/cxterm/CXTERM.FAQ
-%%PORTDOCS%%share/doc/cxterm/input.doc
-%%PORTDOCS%%@dirrm share/doc/cxterm
+@dirrm lib/X11/fonts/chinese
@dirrm lib/X11/cxterm.dic/big5
@dirrm lib/X11/cxterm.dic/gb
@dirrm lib/X11/cxterm.dic/jis