freebsd-ports/sysutils/gai-leds/Makefile

34 lines
751 B
Makefile
Raw Normal View History

2013-09-06 16:23:20 +02:00
# Created by: Douglas Thrift <douglas@douglasthrift.net>
# $FreeBSD$
PORTNAME= gai-leds
PORTVERSION= 0.6
PORTREVISION= 9
CATEGORIES= sysutils
MASTER_SITES= SF/gai/GAI%20-%20Applets/${PORTNAME}
MAINTAINER= douglas@douglasthrift.net
COMMENT= GAI applet that displays the keyboard status leds
LICENSE= GPLv2
LIB_DEPENDS= libgai.so:x11-toolkits/gai
GNU_CONFIGURE= yes
USES= pathfix pkgconfig tar:bzip2
USE_GNOME= gnomeprefix
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>