aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-11-10 08:43:41 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-11-10 08:43:41 +0000
commit6c8026f9a49c864b5c29c5b718162ffdeb6b3b07 (patch)
tree5e0faef176b455b6b93685000db58837bbae959e /chinese
parentac444db3d0108b2952e43c9eb6ac5fe9f7981387 (diff)
downloadports-6c8026f9a49c864b5c29c5b718162ffdeb6b3b07.tar.gz
ports-6c8026f9a49c864b5c29c5b718162ffdeb6b3b07.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/miniChinput/Makefile6
-rw-r--r--chinese/miniChinput/pkg-plist19
2 files changed, 24 insertions, 1 deletions
diff --git a/chinese/miniChinput/Makefile b/chinese/miniChinput/Makefile
index e1b2f26483b4..cab8610ea43a 100644
--- a/chinese/miniChinput/Makefile
+++ b/chinese/miniChinput/Makefile
@@ -14,17 +14,21 @@ MASTER_SITE_SUBDIR= minichinput
MAINTAINER= statue@freebsd.sinica.edu.tw
COMMENT= A tiny version of Chinput
-HAS_CONFIGURE= yes
+GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
USE_XLIB= yes
ALL_TARGET= all data
INSTALL_TARGET= install data-install
+MAN1= chinput.1
+
post-patch:
@${REINPLACE_CMD} -e 's,make,${GMAKE},g' ${WRKSRC}/src/Makefile.in
@echo "install:" >> ${WRKSRC}/src/IMdkit/Makefile
@${REINPLACE_CMD} -e 's#$$(prefix)$$(imdir)/{gb,gbk,big5}#$$(prefix)$$(imdir)/gb $$(prefix)$$(imdir)/gbk $$(prefix)$$(imdir)/big5#g' ${WRKSRC}/ImmModules/turbo/Makefile.in
+ @${REINPLACE_CMD} -e 's,-@PACKAGE_VERSION@,,g' ${WRKSRC}/doc/Makefile.in
+ @${REINPLACE_CMD} -e 's,/share/man,/man,g' ${WRKSRC}/configure
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/chinese/miniChinput/pkg-plist b/chinese/miniChinput/pkg-plist
index acfe4053bab9..eb1a5414df5b 100644
--- a/chinese/miniChinput/pkg-plist
+++ b/chinese/miniChinput/pkg-plist
@@ -1,4 +1,21 @@
bin/chinput
+%%DOCSDIR%%/README
+%%DOCSDIR%%/BUGS
+%%DOCSDIR%%/CHANGES
+%%DOCSDIR%%/INSTALL
+%%DOCSDIR%%/USAGE
+%%DOCSDIR%%/TODO
+%%DOCSDIR%%/COPYING
+%%DOCSDIR%%/Chinese/TODO_cn
+%%DOCSDIR%%/Chinese/Chinput_BUGS
+%%DOCSDIR%%/Chinese/Chinput_CHANGES
+%%DOCSDIR%%/Chinese/Chinput_FAQ
+%%DOCSDIR%%/Chinese/Chinput_INSTALL
+%%DOCSDIR%%/Chinese/Chinput_README
+%%DOCSDIR%%/Chinese/Chinput_USAGE
+%%DOCSDIR%%/Chinese/INSTALL_cn
+%%DOCSDIR%%/Chinese/README_cn
+%%DOCSDIR%%/Chinese/Chinput_API
lib/Chinput/Chinput.ad
lib/Chinput/im/TL_hzinput.so
lib/Chinput/im/cce_hzinput.so
@@ -29,3 +46,5 @@ lib/Chinput/im/gbk/gbkpy_mb.tab
@dirrm lib/Chinput/im/gbk
@dirrm lib/Chinput/im
@dirrm lib/Chinput
+@dirrm %%DOCSDIR%%/Chinese
+@dirrm %%DOCSDIR%%