opnsense-ports/sysutils/gai-leds/Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

33 lines
763 B
Makefile

# Created by: Douglas Thrift <douglas@douglasthrift.net>
# $FreeBSD$
PORTNAME= gai-leds
PORTVERSION= 0.6
PORTREVISION= 8
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:${PORTSDIR}/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>