freebsd-ports/textproc/m17n-contrib/Makefile
Martin Wilke 6f312588cf This port installs the user-contributed input methods for the m17n library
(the official ones are installed through devel/m17n-lib). It currently
supports Punjabi, Sinhala, Telugu, Nepali, Russian, Assamese, Bengali,
Gujarati, Hindi, Kannada, Malayalam, Marathi, Oriya and Vietnamese layouts
with various sub-variants.

The port also provides the tbl2mim.awk script for conversion of keyboard
files used by textproc/scim-table-imengine into SCIM-independent .mim format
(usable by m17n library).

WWW: http://www.m17n.org/

PR:		ports/127894
Submitted by:	Nikola Lecic <nikola.lecic at anthesphoria.net>
2009-01-11 11:13:34 +00:00

34 lines
852 B
Makefile

# New ports collection makefile for: m17n-contrib
# Date created: 5 October 2008
# Whom: Nikola Lecic <nikola.lecic@anthesphoria.net>
#
# $FreeBSD$
#
PORTNAME= m17n-contrib
PORTVERSION= 1.1.7
CATEGORIES= textproc
MASTER_SITES= http://www.m17n.org/m17n-lib-download/ \
http://anthesphoria.net/FreeBSD/ports/distfiles/
MAINTAINER= nikola.lecic@anthesphoria.net
COMMENT= User-contributed input methods for the m17n library
BUILD_DEPENDS= m17n-db>=1.5.2:${PORTSDIR}/devel/m17n-db
USE_GMAKE= yes
GNU_CONFIGURE= yes
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|^m17n_scriptdir = $${m17ndir}/scripts|m17n_scriptdir = ${LOCALBASE}/bin|'\
${WRKSRC}/Makefile.in
.include <bsd.port.mk>