1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/chinese/chinput2/Makefile
Dejan Lesjak 4f5d3d0d4a Add imake build dependency, it is no longer implied by USE_XLIB.
Pointed out by:	dosirak via kris
Approved by:	maintainer timeout
2004-12-23 01:42:27 +00:00

51 lines
1.3 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: chinput2
# Date created: 11/09/2000
# Whom: Peng HaiJie (phj@cn.freebsd.org)
#
# $FreeBSD$
#
PORTNAME= chinput2
PORTVERSION= 1.3.1
CATEGORIES= chinese x11
MASTER_SITES= ftp://ftp.cn.freebsd.org/pub/ported/
DISTNAME= zh-chinput2-1.3.1
MAINTAINER= phj@cn.FreeBSD.org
COMMENT= Another Chinese GB2312 and Big5 X11 input server
BUILD_DEPENDS= imake:${X_IMAKE_PORT}
USE_MYSQL= yes
USE_REINPLACE= yes
USE_XLIB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/chinput2 bin/add_items etc/chinput2.conf share/${PORTNAME}/README
PLIST_DIRS= share/${PORTNAME}
post-extract:
@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
post-patch:
@${REINPLACE_CMD} -Ee 's,^((BIN|CONF|DOC_)(DIR|PATH)=)/usr/local,\1${PREFIX},g' \
${WRKSRC}/util/pydb/Makefile ${WRKSRC}/src/Makefile ${WRKSRC}/Makefile
pre-build:
@${RM} -f ${WRKSRC}/src/.depend
pre-install:
@${REINPLACE_CMD} -Ee 's,^((BIN|CONF|DOC_)(DIR|PATH)=)/usr/local,\1${PREFIX},g' \
${WRKSRC}/src/Makefile
post-install:
@${ECHO_MSG}
@${ECHO_MSG}
@${ECHO_MSG} "Please refer to ${PREFIX}/share/chinput2/README for "
@${ECHO_MSG} "how to use chinput2,thanks for using this software."
@${ECHO_MSG}
@${ECHO_MSG} " -phj@cn.freebsd.org"
@${ECHO_MSG}
.include <bsd.port.mk>