freebsd-ports/chinese/scim-fcitx/Makefile
Dmitry Marakasov 5ed519cc02 - Switch to USES=libtool
- Fix build on 10.x

Approved by:	portmgr blanket
2014-07-22 23:42:32 +00:00

35 lines
827 B
Makefile

# Created by: Yinghong Liu <relaxbsd@gmail.com>
# $FreeBSD$
PORTNAME= scim
PORTVERSION= 3.1.1
PORTREVISION= 6
CATEGORIES= chinese
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-fcitx/${PORTVERSION}
PKGNAMESUFFIX= -fcitx
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}.${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= SCIM IMEngine module for fcitx
RUN_DEPENDS= scim:${PORTSDIR}/textproc/scim
BUILD_DEPENDS:= ${RUN_DEPENDS}
USES= tar:bzip2 gmake libtool:keepla pkgconfig
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/fcitx
CONFIGURE_ENV+= SCIM_DATADIR=${PREFIX}/share/scim \
SCIM_ICONDIR=${PREFIX}/share/scim/icons
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lintl
SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
${WRKSRC}/configure
.include <bsd.port.mk>