aboutsummaryrefslogtreecommitdiff
path: root/korean
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2016-09-15 00:00:56 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2016-09-15 00:00:56 +0000
commitd64c460f5737b85535fc0c7b02bd5f66acce0418 (patch)
tree08d61d0f6870cb9cb13050eefb02aad65fb1f138 /korean
parentf771ab66f2249b23b0f9501bd09732a9957bdbab (diff)
downloadports-d64c460f5737b85535fc0c7b02bd5f66acce0418.tar.gz
ports-d64c460f5737b85535fc0c7b02bd5f66acce0418.zip
Notes
Diffstat (limited to 'korean')
-rw-r--r--korean/nabi/Makefile46
-rw-r--r--korean/nabi/distinfo5
2 files changed, 26 insertions, 25 deletions
diff --git a/korean/nabi/Makefile b/korean/nabi/Makefile
index 35cb1d455cde..de106dbcddb8 100644
--- a/korean/nabi/Makefile
+++ b/korean/nabi/Makefile
@@ -3,44 +3,44 @@
PORTNAME= nabi
PORTVERSION= 1.0.0
+PORTREVISION= 1
CATEGORIES= korean gnome
-MASTER_SITES= GOOGLE_CODE
MAINTAINER= jkim@FreeBSD.org
COMMENT= Hangul X Input Method for Everywhere
-LICENSE= GPLv2
-
-BROKEN= Unfetchable (google code has gone away)
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libhangul.so:korean/libhangul
+LIB_DEPENDS+= libfreetype.so:print/freetype2
+LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig
+
+GH_ACCOUNT= choehwanjin
+GH_TAGNAME= f08d7d3
+USE_GITHUB= yes
-USE_GNOME= gtk20
GNU_CONFIGURE= yes
-USES= gmake pathfix pkgconfig
+USE_GNOME= cairo gdkpixbuf2 gtk20
+USE_XORG= ice sm x11
+USES= autoreconf gmake pkgconfig
OPTIONS_DEFINE= NLS
OPTIONS_RADIO= LAYOUT
OPTIONS_RADIO_LAYOUT= LAYOUT_390 LAYOUT_FINAL
+OPTIONS_SUB= yes
LAYOUT_DESC= Select 3-beolsik layout (default: 2-beolsik)
LAYOUT_390_DESC= 3-beolsik 390 keyboard
LAYOUT_FINAL_DESC= 3-beolsik final keyboard
-OPTIONS_SUB= NLS
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-.endif
-
-.if ${PORT_OPTIONS:MLAYOUT_390}
-CONFIGURE_ARGS= --with-default-keyboard=39
-.elif ${PORT_OPTIONS:MLAYOUT_FINAL}
-CONFIGURE_ARGS= --with-default-keyboard=3f
-.else
-CONFIGURE_ARGS= --with-default-keyboard=2
-.endif
+LAYOUT_390_CONFIGURE_ON= --with-default-keyboard=39
+LAYOUT_FINAL_CONFIGURE_ON= --with-default-keyboard=3f
+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.ac
+
+pre-configure-NLS-on:
+ @(cd ${WRKSRC} && ${LOCALBASE}/bin/glib-gettextize)
.include <bsd.port.mk>
diff --git a/korean/nabi/distinfo b/korean/nabi/distinfo
index 2e51d0d8cd89..4a2508daea0c 100644
--- a/korean/nabi/distinfo
+++ b/korean/nabi/distinfo
@@ -1,2 +1,3 @@
-SHA256 (nabi-1.0.0.tar.gz) = 9c59cb3b70b66cbb86d68e4b0debc0c4ebf456da598d22a006671d7e89502a33
-SIZE (nabi-1.0.0.tar.gz) = 868761
+TIMESTAMP = 1473878127
+SHA256 (choehwanjin-nabi-1.0.0-f08d7d3_GH0.tar.gz) = 91438bbb55b22a96099abd0f3bf492e9357c608df939328bf2eed1baf93b71f2
+SIZE (choehwanjin-nabi-1.0.0-f08d7d3_GH0.tar.gz) = 926902