993c3c9fc6
array 6.0 Unicode CJK Extension B and special input code. WWW: http://scimarray.openfoundry.org/ PR: ports/141927 Submitted by: Li-Lun Wang (Leland Wang) <llwang@infor.org>
34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
# New ports collection makefile for: scim-array
|
|
# Date created: 23 December 2009
|
|
# Whom: Li-Lun Wang <llwang@infor.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= scim-array
|
|
PORTVERSION= 1.0.1
|
|
CATEGORIES= chinese
|
|
MASTER_SITES= http://of.openfoundry.org/download/scimarray/${PORTVERSION}/
|
|
|
|
MAINTAINER= llwang@infor.org
|
|
COMMENT= Array 30 SCIM IMEngine module
|
|
|
|
BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim
|
|
RUN_DEPENDS= scim:${PORTSDIR}/textproc/scim
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_GNOME= pkgconfig
|
|
USE_GETTEXT= yes
|
|
USE_ICONV= yes
|
|
|
|
CFLAGS+= -fPIC
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
|
|
|
|
pre-configure:
|
|
@${REINPLACE_CMD} -e "s,@SCIM_MODULEDIR@,$$(pkg-config --variable=moduledir scim | ${SED} -e s,`pkg-config --variable=prefix scim`,${PREFIX},)," ${WRKSRC}/src/Makefile.in
|
|
@${REINPLACE_CMD} -e "s,@SCIM_ICONDIR@,$$(pkg-config --variable=icondir scim | ${SED} -e s,`pkg-config --variable=prefix scim`,${PREFIX},)," ${WRKSRC}/data/Makefile.in
|
|
@${REINPLACE_CMD} -e "s,@SCIM_SHAREDIR@,$$(pkg-config --variable=scimdatadir scim | ${SED} -e s,`pkg-config --variable=prefix scim`,${PREFIX},)," ${WRKSRC}/data/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|