freebsd-ports/korean/scim-hangul/Makefile

40 lines
981 B
Makefile

# New ports collection makefile for: ko-scim-hangul
# Date created: 13 Oct 2005
# Whom: CHOI Junho <cjh@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= scim-hangul
PORTVERSION= 0.3.1
PORTREVISION= 3
CATEGORIES= korean
MASTER_SITES= SF/scim/${PORTNAME}/${PORTVERSION}
MAINTAINER= cjh@FreeBSD.org
COMMENT= SCIM IMEngine module for Korean(Hangul) input
BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim
LIB_DEPENDS= hangul.1:${PORTSDIR}/korean/libhangul
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_ICONV= yes
USE_GMAKE= yes
USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure ${WRKSRC}/skim/configure
post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO}
@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
@${ECHO}
.include <bsd.port.mk>