1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/sysutils/gkleds2/Makefile
2013-11-14 01:21:37 +00:00

35 lines
909 B
Makefile

# 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
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g ; \
s|GK_LDFLAGS|GKM_LDFLAGS|g' ${WRKSRC}/src/Makefile.in
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
${INSTALL_DATA} ${WRKSRC}/src/.libs/gkleds.so \
${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
.include <bsd.port.mk>