summaryrefslogtreecommitdiff
path: root/sysutils/gkrellmwho2/Makefile
blob: b3e94d7e91e463abb9b90b6c9a62cf81fedfee9e (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
# Created by: Alexey Zaytsev
# $FreeBSD$

PORTNAME=	gkrellmwho2
PORTVERSION=	0.2.8
PORTREVISION=	12
CATEGORIES=	sysutils
MASTER_SITES=	http://shisha.spb.ru/ \
		http://users.podolsk.ru/c104598/
DISTNAME=	${PORTNAME}_${PORTVERSION}.orig

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Displays logged in users

BUILD_DEPENDS=	${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS=	gkrellm:${PORTSDIR}/sysutils/gkrellm2

HAS_CONFIGURE=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig
USES=		pkgconfig

ALL_TARGET=
PLIST_FILES=	libexec/gkrellm2/plugins/gkrellmwho2.so

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/configure ${WRKSRC}/Makefile
	@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/gkrellmwho2.so ${PREFIX}/libexec/gkrellm2/plugins/

.include <bsd.port.mk>