freebsd-ports/korean/imhangul-gtk3/Makefile

39 lines
848 B
Makefile

# Created by: Junho CHOI <junho.choi@gmail.com>
# $FreeBSD$
PORTNAME= imhangul
PORTVERSION= 3.1.1
CATEGORIES= korean
PKGNAMESUFFIX= -gtk3
MAINTAINER= jkim@FreeBSD.org
COMMENT= Hangul input module for GTK+ 3.0
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libhangul.so:korean/libhangul
CONFLICTS_INSTALL= ko-imhangul-3.*
GH_ACCOUNT= choehwanjin
GH_TAGNAME= 85f6d10
USE_GITHUB= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_GNOME= cairo gdkpixbuf2 gtk30
USES= autoreconf gmake libtool pkgconfig
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext localbase
post-patch-NLS-off:
@${REINPLACE_CMD} -e '/^SUBDIRS /s| po||' ${WRKSRC}/Makefile.am
@${REINPLACE_CMD} -e '/^po\/Makefile\.in/d' ${WRKSRC}/configure.in
pre-configure-NLS-on:
@(cd ${WRKSRC} && ${LOCALBASE}/bin/glib-gettextize)
.include <bsd.port.mk>