freebsd-ports/chinese/miniChinput/Makefile
Mark Linimon 30b459ebc5 statue@freebsd.sinica.edu.tw has asked for all the maintained
ports to be reset to ports@FreeBSD.org.  We're sorry to see you
go and want to thank you for your help in the past.

PR:		ports/59515
Submitted by:	statue@freebsd.sinica.edu.tw
2003-11-21 03:09:45 +00:00

36 lines
1,008 B
Makefile

# New ports collection makefile for: zh-miniChinput
# Date created: 19 Jul 2003
# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
#
# $FreeBSD$
#
PORTNAME= miniChinput
PORTVERSION= 0.1.9
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= minichinput
MAINTAINER= ports@FreeBSD.org
COMMENT= A tiny version of Chinput
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}
.include <bsd.port.mk>