1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/chinese/xsim/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

39 lines
1.0 KiB
Makefile

# New ports collection makefile for: xsim
# Date created: 30 Dec 2002
# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
#
# $FreeBSD$
#
PORTNAME= xsim
PORTVERSION= 0.3.9.4
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \
${PORTNAME}-data-freebsd-gb2312.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= A simple and fast GBK Chinese XIM server
LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3
USE_REINPLACE= yes
USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-cn-locale=EUC
post-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/xsim/IMdkit/IMConn.c
@${FIND} ${WRKSRC} -name xsimrc.in -or -name Makefile.in | ${XARGS} \
${REINPLACE_CMD} -Ee 's,@prefix@/(plugins|dat|bin),${DATADIR}/\1,g'
post-install:
@${LN} -s ${DATADIR}/bin/xsim ${PREFIX}/bin/xsim
@${MKDIR} ${DATADIR}/dat
@${CP} -R ${WRKDIR}/usr/local/xsim/dat/* ${DATADIR}/dat
@${SED} -e 's,%%X11BASE%%,${X11BASE},g' < ${PKGMESSAGE}
.include <bsd.port.mk>