diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2015-09-09 18:21:06 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2015-09-09 18:21:06 +0000 |
commit | 64b9c3989a7288476993842f61afec595ea4854e (patch) | |
tree | 0ea2f88145998a67548739ba153a8f723602a3c8 /korean/imhangul/Makefile | |
parent | 7eb1fa0bd9a30a12510d852c206adb4cf3eff36f (diff) | |
download | ports-64b9c3989a7288476993842f61afec595ea4854e.tar.gz ports-64b9c3989a7288476993842f61afec595ea4854e.zip |
Strip binary and modernize the port.
Notes
Notes:
svn path=/head/; revision=396526
Diffstat (limited to 'korean/imhangul/Makefile')
-rw-r--r-- | korean/imhangul/Makefile | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/korean/imhangul/Makefile b/korean/imhangul/Makefile index 013c28cac071..a42bc79a9086 100644 --- a/korean/imhangul/Makefile +++ b/korean/imhangul/Makefile @@ -3,7 +3,7 @@ PORTNAME= imhangul PORTVERSION= ${GTKVER}.1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= korean MASTER_SITES= GOOGLE_CODE @@ -15,30 +15,19 @@ LICENSE= GPLv2 LIB_DEPENDS= libhangul.so:${PORTSDIR}/korean/libhangul GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +PLIST_SUB= GTKVER=${GTKVER}.0 +USE_GNOME= gtk${GTKVER}0 USES= gmake libtool pkgconfig tar:bzip2 OPTIONS_DEFINE= GTK3 NLS +OPTIONS_SUB= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MGTK3} -USE_GNOME= gtk30 -GTKVER= 3 -PLIST_SUB= GTK2="@comment " GTK3="" -.else -USE_GNOME= gtk20 -GTKVER= 2 -PLIST_SUB= GTK2="" GTK3="@comment " -.endif -PLIST_SUB+= GTKVER="${GTKVER}.0" - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -PLIST_SUB+= NLS="" -.else -PLIST_SUB+= NLS="@comment " -.endif +GTK3_VARS= GTKVER=3 +GTK3_VARS_OFF= GTKVER=2 + +NLS_CPPFLAGS= -I${LOCALBASE}/include +NLS_LDFLAGS= -L${LOCALBASE}/lib +NLS_USES= gettext .include <bsd.port.mk> |