1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/sysutils/gai-leds/Makefile
Sunpoet Po-Chuan Hsieh a82c81f429 - Pet portlint: move LICENSE upward
- Support STAGEDIR
- While I'm here:
  - Remove leading indefinite article from COMMENT
  - Convert to new LIB_DEPENDS format
  - Use USES=pathfix

PR:		ports/184271
Submitted by:	Douglas William Thrift <douglas@douglasthrift.net> (maintainer)
2013-11-27 16:18:00 +00:00

35 lines
768 B
Makefile

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