blob: 75fc5a0457d48c812347caecd3faabd7be095df9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# New ports collection makefile for: gai-leds
# Date created: 2007-06-12
# Whom: Douglas Thrift <douglas@douglasthrift.net>
#
# $FreeBSD$
#
PORTNAME= gai-leds
PORTVERSION= 0.6
PORTREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gai
MAINTAINER= douglas@douglasthrift.net
COMMENT= A GAI applet that displays the keyboard status leds
LIB_DEPENDS= gai:${PORTSDIR}/x11-toolkits/gai
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GNOME= gnomehack gnomeprefix
BROKEN= does not compile
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>
|