2003-12-28 12:18:18 +01:00
|
|
|
# New ports collection makefile for: iiimf-server
|
|
|
|
# Date created: 6 Dec 2003
|
|
|
|
# Whom: Kuang-che Wu <kcwu@csie.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2004-10-13 21:56:46 +02:00
|
|
|
PORTNAME= server
|
|
|
|
PORTVERSION= ${IIIMF_VER:S/_/./g:C/-.*//}
|
2003-12-28 12:18:18 +01:00
|
|
|
CATEGORIES= textproc
|
2004-10-13 21:56:46 +02:00
|
|
|
MASTER_SITES= http://www.openi18n.org/download/im-sdk/src/
|
|
|
|
PKGNAMEPREFIX= iiimf-
|
2005-02-28 05:17:02 +01:00
|
|
|
DISTNAME= im-sdk-src-${IIIMF_VER}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2003-12-28 12:18:18 +01:00
|
|
|
|
|
|
|
MAINTAINER= kcwu@csie.org
|
|
|
|
COMMENT= Internet/Intranet Input Method Server Framework
|
|
|
|
|
2005-02-28 05:17:02 +01:00
|
|
|
LIB_DEPENDS= iiimp.0:${PORTSDIR}/textproc/iiimf-protocol-lib
|
|
|
|
|
|
|
|
IIIMF_VER= r12_1-svn2002
|
|
|
|
USE_RC_SUBR= htt.sh
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= intltool pkgconfig libxml2
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
WANT_AUTOCONF_VER=253
|
|
|
|
WANT_AUTOHEADER_VER=253
|
|
|
|
WANT_AUTOMAKE_VER=15
|
|
|
|
WANT_LIBTOOL_VER=15
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}/iiimsf
|
|
|
|
PATCH_WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
|
2004-09-18 19:49:31 +02:00
|
|
|
|
2004-12-17 07:57:07 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-02-28 05:17:02 +01:00
|
|
|
.if ${OSVERSION} < 503000
|
|
|
|
IGNORE= "It is supported on FreeBSD 5.3 and later"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${ARCH} != "i386"
|
|
|
|
IGNORE= "${ARCH} is not support."
|
2004-12-17 07:57:07 +01:00
|
|
|
.endif
|
|
|
|
|
2005-02-28 05:17:02 +01:00
|
|
|
MAKE_ARGS+= LIBTOOL="${LIBTOOL} --tag=CXX"
|
|
|
|
UPDATE_ARGS+= ACLOCAL=${ACLOCAL} AUTOMAKE=${AUTOMAKE} \
|
|
|
|
AUTOHEADER=${AUTOHEADER} AUTOCONF=${AUTOCONF} \
|
|
|
|
LIBTOOL=${LIBTOOL} LIBTOOLIZE=${LIBTOOLIZE}
|
|
|
|
|
2003-12-28 12:18:18 +01:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \
|
2004-10-13 21:56:46 +02:00
|
|
|
${WRKSRC}/../acfiles/im_common.m4 \
|
2005-02-28 05:17:02 +01:00
|
|
|
${WRKSRC}/src/le.xml.conf
|
|
|
|
${MV} ${WRKSRC}/htt.xml.conf ${WRKSRC}/htt.xml.conf.sample
|
|
|
|
${MV} ${WRKSRC}/src/le.xml.conf ${WRKSRC}/src/le.xml.conf.sample
|
2003-12-28 12:18:18 +01:00
|
|
|
|
2004-10-13 21:56:46 +02:00
|
|
|
pre-configure:
|
2005-02-28 05:17:02 +01:00
|
|
|
(cd ${WRKSRC}/.. && ${GMAKE} ${UPDATE_ARGS} update-acfiles)
|
|
|
|
(cd ${WRKSRC}/../acfiles/ && ${TOUCH} ltconfig)
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
(cd ${WRKSRC} && ./autogen.sh --prefix=${PREFIX})
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
${REINPLACE_CMD} -e "s,\$${prefix}/var,/var,g" \
|
|
|
|
${WRKSRC}/src/Makefile
|
2004-10-13 21:56:46 +02:00
|
|
|
|
2004-12-17 07:57:07 +01:00
|
|
|
.include <bsd.port.post.mk>
|