2005-03-04 16:27:03 +00:00
|
|
|
# New ports collection makefile for: iiimf-le-hangul
|
|
|
|
# Date created: 1 Mar 2005
|
|
|
|
# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= le-hangul
|
2005-05-24 12:37:50 +00:00
|
|
|
PORTVERSION= 12.2
|
2005-05-27 07:11:17 +00:00
|
|
|
PORTREVISION= 1
|
2005-03-04 16:27:03 +00:00
|
|
|
CATEGORIES= korean textproc
|
|
|
|
MASTER_SITES= http://www.openi18n.org/download/im-sdk/src/
|
|
|
|
PKGNAMEPREFIX= iiimf-
|
2005-05-24 12:37:50 +00:00
|
|
|
DISTNAME= iiimf-src-${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2005-03-04 16:27:03 +00:00
|
|
|
|
2005-05-24 12:37:50 +00:00
|
|
|
MAINTAINER= ozawa@ongs.co.jp
|
2005-03-04 16:27:03 +00:00
|
|
|
COMMENT= IIIMF Hangul input method engine
|
|
|
|
|
2005-05-24 12:37:50 +00:00
|
|
|
RUN_DEPENDS= iiimd:${PORTSDIR}/textproc/iiimf-server
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
2005-03-04 16:27:03 +00:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_XLIB= yes
|
2005-11-15 06:52:12 +00:00
|
|
|
USE_AUTOTOOLS= automake:19:env autoconf:259:env libtool:15:env
|
2005-05-24 12:37:50 +00:00
|
|
|
WANT_AUTOHEADER_VER= 259
|
2005-03-25 07:59:10 +00:00
|
|
|
|
2005-05-24 12:37:50 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
|
|
|
|
BUILDDIR= ${WRKSRC}/leif
|
2005-03-04 16:27:03 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 503000
|
2005-05-24 12:37:50 +00:00
|
|
|
IGNORE= It is supported on FreeBSD 5.3 and later.
|
2005-03-04 16:27:03 +00:00
|
|
|
.endif
|
|
|
|
|
2005-03-25 07:59:10 +00:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
|
2005-05-24 12:37:50 +00:00
|
|
|
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
2005-03-04 16:27:03 +00:00
|
|
|
|
|
|
|
post-patch:
|
2005-05-24 12:37:50 +00:00
|
|
|
${REINPLACE_CMD} \
|
|
|
|
-e "s,%%LOCALBASE%%,${LOCALBASE},g" \
|
|
|
|
-e "s,%%PREFIX%%,${PREFIX},g" \
|
|
|
|
${WRKSRC}/Makefile ${BUILDDIR}/Makefile.am
|
2005-03-04 16:27:03 +00:00
|
|
|
|
|
|
|
pre-configure:
|
2005-05-24 12:37:50 +00:00
|
|
|
@cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${GMAKE} reconfig
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${GMAKE} config
|
2005-03-04 16:27:03 +00:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|