aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-03-06 01:36:48 +0800
committerleeym <leeym@FreeBSD.org>2005-03-06 01:36:48 +0800
commitbd18cb0ec7e0c9eadb951ec9da6d65a9ca779cce (patch)
tree68a07faec722e7314db34990c57cc1c66e016883 /chinese
parent9dba873c22f9d278e028e32fdd6fdb34b12468ff (diff)
downloadfreebsd-ports-gnome-bd18cb0ec7e0c9eadb951ec9da6d65a9ca779cce.tar.gz
freebsd-ports-gnome-bd18cb0ec7e0c9eadb951ec9da6d65a9ca779cce.tar.zst
freebsd-ports-gnome-bd18cb0ec7e0c9eadb951ec9da6d65a9ca779cce.zip
- utilize PORTDOCS
- remove extra file and directory
Diffstat (limited to 'chinese')
-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