summaryrefslogtreecommitdiffstats
path: root/net/gkrellmqst/Makefile
blob: 2051e6aed692220950ee4ccc475bd00963f69784 (plain)
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
# New ports collection makefile for:	gkrellmqst
# Date Created:				Thu Jun 28 01:54:57 EDT 2001
# Whom:					Patrick Li <pat@databits.net>
# With help from:	Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gkrellmqst
PORTVERSION=	0.3.p5
CATEGORIES=	net games
MASTER_SITES=	http://tadpol.org/unxware/
DISTNAME=	gkrellm_qst-${PORTVERSION:S/.p/pre_/}

MAINTAINER=	pat@databits.net

BUILD_DEPENDS=	${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
RUN_DEPENDS=	gkrellm:${PORTSDIR}/sysutils/gkrellm \
		qstat:${PORTSDIR}/games/qstat

WRKSRC=		${WRKDIR}/${PORTNAME:S/mq/m_q/}
USE_X_PREFIX=	yes
USE_IMLIB=	yes
MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}" \
		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
ALL_TARGET=	qst.so
EXTRA_PATCHES=	${WRKDIR}/patch-qst.c

pre-patch:
	@${SED} -e "s!%%LOCALBASE%%!${LOCALBASE}!" \
		-e "s!%%X11BASE%%!${X11BASE}!" \
		${FILESDIR}/template-patch-qst.c > \
		${WRKDIR}/patch-qst.c

.include <bsd.port.mk>
OpenPOWER on IntegriCloud