freebsd-ports/textproc/ibus-m17n/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

38 lines
786 B
Makefile

# Created by: Nikola Lecic <nikola.lecic@anthesphoria.net>
# $FreeBSD$
PORTNAME= ibus-m17n
PORTVERSION= 1.3.3
PORTREVISION= 5
CATEGORIES= textproc
MASTER_SITES= GOOGLE_CODE
MAINTAINER= nikola.lecic@anthesphoria.net
COMMENT= The m17n IMEngine for IBus framework
LIB_DEPENDS= libibus-1.0.so:${PORTSDIR}/textproc/ibus \
libm17n.so:${PORTSDIR}/devel/m17n-lib
RUN_DEPENDS= ibus-daemon:${PORTSDIR}/textproc/ibus
PROJECTHOST= ibus
USES= gmake pkgconfig
GNU_CONFIGURE= yes
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/m17n|$${pkgdatadir}|g' \
${WRKSRC}/src/m17n.xml.in*
.include <bsd.port.mk>