aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/miniChinput/Makefile
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-11-10 16:43:41 +0800
committerleeym <leeym@FreeBSD.org>2003-11-10 16:43:41 +0800
commitea8984d2bc45f3b770068c6fc60c86d04e0dd8f9 (patch)
treeec055766e0af1cea4c8f8727c247ca4431920788 /chinese/miniChinput/Makefile
parent621be7374115c7a200208c2b372a0fe1fff1ca4c (diff)
downloadfreebsd-ports-gnome-ea8984d2bc45f3b770068c6fc60c86d04e0dd8f9.tar.gz
freebsd-ports-gnome-ea8984d2bc45f3b770068c6fc60c86d04e0dd8f9.tar.zst
freebsd-ports-gnome-ea8984d2bc45f3b770068c6fc60c86d04e0dd8f9.zip
fix PLIST problem.
Reviewed by: maintainer
Diffstat (limited to 'chinese/miniChinput/Makefile')
-rw-r--r--chinese/miniChinput/Makefile6
1 files changed, 5 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}