blob: 2343d1facc2c0d4c60daedf00c2c16904b884e46 (
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
|
# Created by: Jan Stocker <Jan.Stocker@t-online.de>
# $FreeBSD$
PORTNAME= gkleds2
PORTVERSION= 0.8.2
PORTREVISION= 7
CATEGORIES= sysutils
MASTER_SITES= http://heim.ifi.uio.no/~oyvinha/files/files/
DISTNAME= gkleds-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= GKrellM Leds for CapsLock, NumLock, and ScrollLock
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
USES= pkgconfig
USE_XORG= x11 xtst
USE_GNOME= gtk20
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= libexec/gkrellm2/plugins/gkleds.so
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g ; \
s|GK_LDFLAGS|GKM_LDFLAGS|g' ${WRKSRC}/src/Makefile.in
do-install:
${INSTALL_DATA} ${WRKSRC}/src/.libs/gkleds.so \
${PREFIX}/libexec/gkrellm2/plugins
.include <bsd.port.mk>
|