- Stagefy, convert to USES=gmake, convert LIB_DEPENDS to new format.
- Use options framework to select the default keyboard layout.
This commit is contained in:
parent
e475c58e44
commit
fb9e399c88
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338971
1 changed files with 14 additions and 9 deletions
|
@ -11,29 +11,34 @@ COMMENT= Hangul X Input Method for Everywhere
|
|||
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= hangul:${PORTSDIR}/korean/libhangul
|
||||
LIB_DEPENDS= libhangul.so:${PORTSDIR}/korean/libhangul
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= gtk20
|
||||
GNU_CONFIGURE= yes
|
||||
USES= pathfix pkgconfig
|
||||
USES= gmake pathfix pkgconfig
|
||||
|
||||
OPTIONS_DEFINE= NLS
|
||||
OPTIONS_RADIO= LAYOUT
|
||||
OPTIONS_RADIO_LAYOUT= LAYOUT_390 LAYOUT_FINAL
|
||||
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
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
PLIST_SUB= NLS=""
|
||||
.else
|
||||
PLIST_SUB= NLS="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LAYOUT_390)
|
||||
.if ${PORT_OPTIONS:MLAYOUT_390}
|
||||
CONFIGURE_ARGS= --with-default-keyboard=39
|
||||
.elif defined(WITH_LAYOUT_3FINAL)
|
||||
.elif ${PORT_OPTIONS:MLAYOUT_FINAL}
|
||||
CONFIGURE_ARGS= --with-default-keyboard=3f
|
||||
.else
|
||||
CONFIGURE_ARGS= --with-default-keyboard=2
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue