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%%