2013-09-06 16:23:20 +02:00
|
|
|
# Created by: Douglas Thrift <douglas@douglasthrift.net>
|
2007-06-16 18:03:51 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gai-leds
|
|
|
|
PORTVERSION= 0.6
|
2014-09-10 22:50:31 +02:00
|
|
|
PORTREVISION= 8
|
2007-06-16 18:03:51 +02:00
|
|
|
CATEGORIES= sysutils
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/gai/GAI%20-%20Applets/${PORTNAME}
|
2007-06-16 18:03:51 +02:00
|
|
|
|
|
|
|
MAINTAINER= douglas@douglasthrift.net
|
2013-11-27 17:18:00 +01:00
|
|
|
COMMENT= GAI applet that displays the keyboard status leds
|
2007-06-16 18:03:51 +02:00
|
|
|
|
2011-01-15 16:33:41 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-11-27 17:18:00 +01:00
|
|
|
LIB_DEPENDS= libgai.so:${PORTSDIR}/x11-toolkits/gai
|
|
|
|
|
2007-06-16 18:03:51 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-07-29 20:41:15 +02:00
|
|
|
USES= pathfix pkgconfig tar:bzip2
|
2013-11-27 17:18:00 +01:00
|
|
|
USE_GNOME= gnomeprefix
|
2007-06-16 18:03:51 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|\(GNOMEDIR=\).*|\1"${PREFIX}"|; \
|
|
|
|
s|:GNOME_|:GAI-|g; \
|
|
|
|
s|\(@APPLET_NAME@\)\(Applet\)|\1-\2|g; \
|
|
|
|
s|\(Applet\)_\(Factory\)|\1-\2|' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|lib\(/bonobo\)|libdata\1|; \
|
|
|
|
s|-O3||' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|