1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/chinese/scim-fcitx/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

44 lines
931 B
Makefile

# New ports collection makefile for: zh-scim-fcitx
# Date created: 8 May 2007
# Whom: Yinghong Liu <relaxbsd@gmail.com>
#
# $FreeBSD$
#
PORTNAME= scim
PORTVERSION= 3.1.1
PORTREVISION= 4
CATEGORIES= chinese
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-fcitx/${PORTVERSION}
PKGNAMESUFFIX= -fcitx
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}.${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An SCIM IMEngine module for fcitx
RUN_DEPENDS= scim:${PORTSDIR}/textproc/scim
BUILD_DEPENDS= ${RUN_DEPENDS}
USE_BZIP2= yes
USE_GMAKE= yes
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
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>