freebsd-ports/chinese/scim-pinyin/Makefile
Dmitry Marakasov 74816a593f - Add LICENSE
- Strip libraries
- Use options helpers
2015-06-03 14:34:23 +00:00

32 lines
738 B
Makefile

# Created by: Jie Gao <gaoj@cpsc.ucalgary.ca>
# $FreeBSD$
PORTNAME= scim-pinyin
PORTVERSION= 0.5.92
PORTREVISION= 3
CATEGORIES= chinese
MASTER_SITES= SF/scim/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= SCIM Chinese Smart Pinyin input method
BUILD_DEPENDS= scim>=1.2.0:${PORTSDIR}/textproc/scim
RUN_DEPENDS:= ${BUILD_DEPENDS}
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake iconv libtool:keepla pathfix pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-skim-support
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__
LDFLAGS+= -L${LOCALBASE}/lib -lintl
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>