freebsd-ports/chinese/iiimf-le-xcin/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

48 lines
1.3 KiB
Makefile

# New ports collection makefile for: iiimf-le-xcin
# Date created: 2004-09-09
# Whom: Kuang-che Wu <kcwu@csie.org>
#
# $FreeBSD$
#
PORTNAME= iiimf-le-xcin
PORTVERSION= 0.1.7
PORTREVISION= 1
CATEGORIES= chinese textproc
MASTER_SITES= http://people.redhat.com/llch/iiimf-xcin/${PORTVERSION}/
EXTRACT_SUFX= -11.src.rpm
MAINTAINER= kcwu@csie.org
COMMENT= IIIMF xcin language engine, a traditional Chinese input method
EXTRACT_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
RUN_DEPENDS= iiimd:${PORTSDIR}/textproc/iiimf-server
WRKSRC= ${WRKDIR}/iiimf-xcin
USE_BZIP2= yes
USE_XLIB= yes
USE_GNOME= libxml2
USE_REINPLACE= yes
USE_AUTOTOOLS= automake:19 autoheader:259 autoconf:259 libtool:15
AUTOMAKE_ARGS= --add-missing
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
do-extract:
${MKDIR} ${WRKDIR}
cd ${WRKDIR} && \
${LOCALBASE}/bin/rpm2cpio.pl ${DISTDIR}/${DISTFILES} | \
${CPIO} -iud
cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
${WRKDIR}/${DISTNAME}.tar.bz2 ${EXTRACT_AFTER_ARGS}
post-patch:
${REINPLACE_CMD} -e "s,/usr/lib/im,${PREFIX}/lib/iiim,g" \
${WRKSRC}/acfiles/im_common.m4 \
${WRKSRC}/src/cin2tab/constant.h \
${WRKSRC}/src/xmlconf.c \
${WRKSRC}/xcin.xml.conf
pre-configure:
cd ${WRKSRC} && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal -I acfiles
.include <bsd.port.mk>