freebsd-ports/korean/imhangul-gtk2/Makefile
Po-Chuan Hsieh 7a4777dc53
*: Rename GTK+ to GTK
GTK+ has been renamed to GTK since 2019.

Reference:	https://mail.gnome.org/archives/gtk-devel-list/2019-February/msg00000.html
Approved by:	portmgr (blanket)
2023-08-26 21:03:32 +00:00

40 lines
930 B
Makefile

PORTNAME= imhangul
PORTVERSION= 2.1.1
PORTREVISION= 1
CATEGORIES= korean
PKGNAMESUFFIX= -gtk2
MAINTAINER= jkim@FreeBSD.org
COMMENT= Hangul input module for GTK 2.0
WWW= http://code.google.com/p/imhangul/
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libhangul.so:korean/libhangul \
libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig
CONFLICTS_INSTALL= ko-imhangul-[0-2].*
GH_ACCOUNT= choehwanjin
GH_TAGNAME= d2f555d
USE_GITHUB= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_GNOME= cairo gdkpixbuf2 gtk20
USES= autoreconf gmake gnome 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>