2003-11-14 14:50:46 +01:00
|
|
|
# New ports collection makefile for: kkbswitch
|
|
|
|
# Date created: 01 Oct 2003
|
|
|
|
# Whom: Rashid N. Achilov <shelton@granch.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= kkbswitch
|
2005-02-23 09:16:32 +01:00
|
|
|
PORTVERSION= 1.4.3
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 7
|
2003-11-14 14:50:46 +01:00
|
|
|
CATEGORIES= sysutils kde
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF
|
2003-11-14 14:50:46 +01:00
|
|
|
|
2008-07-09 14:03:34 +02:00
|
|
|
MAINTAINER= citycat4@ngs.ru
|
2003-11-14 14:50:46 +01:00
|
|
|
COMMENT= Keyboard layout switcher and indicator for KDE 3.x
|
|
|
|
|
2004-11-12 00:22:25 +01:00
|
|
|
EXTRA_PATCHES= ${.CURDIR}/../../x11/kde3/files/extrapatch-old_configure
|
|
|
|
|
2003-11-14 14:50:46 +01:00
|
|
|
USE_KDELIBS_VER= 3
|
|
|
|
USE_GMAKE= yes
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= libtool:22
|
2003-11-14 14:50:46 +01:00
|
|
|
|
|
|
|
CONFIGURE_ARGS += --with-qt-dir=${QT_PREFIX} \
|
|
|
|
--with-extra-includes=${LOCALBASE}/include \
|
|
|
|
--with-extra-libs=${LOCALBASE}/lib
|
|
|
|
|
2004-05-24 13:33:19 +02:00
|
|
|
DOCSDIR= share/doc/HTML/en/${PORTNAME}
|
|
|
|
|
2004-11-10 22:02:50 +01:00
|
|
|
MAN1= kkbswitch.1
|
|
|
|
|
|
|
|
OPTIONS= RU_UA_LAYOUT "With additional RU_UA keyboard layout" off
|
2004-05-24 13:33:19 +02:00
|
|
|
|
2003-11-14 14:50:46 +01:00
|
|
|
PLIST_SUB= PREFIX=${PREFIX} \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
LOCALBASE=${LOCALBASE} \
|
2004-05-24 13:33:19 +02:00
|
|
|
DOCSDIR=${DOCSDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_RU_UA_LAYOUT)
|
2004-11-10 22:02:50 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-ru-ua-layout
|
2004-05-24 13:33:19 +02:00
|
|
|
PLIST_SUB+= LAYOUT=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= LAYOUT="@comment "
|
|
|
|
.endif
|
2003-11-14 14:50:46 +01:00
|
|
|
|
2004-05-24 13:33:19 +02:00
|
|
|
.include <bsd.port.post.mk>
|