aboutsummaryrefslogtreecommitdiff
path: root/comms/grig/Makefile
blob: d8e0d94c24ac7cf3ff2a41e1e85f1d2d62d9901d (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
# New ports collection makefile for:	grig
# Date created:				2004-01-22
# Whom:					Matt Dawson <matt@mattsnetwork.co.uk>
#
# $FreeBSD$

PORTNAME=	grig
PORTVERSION=	0.2.2
PORTREVISION=	4
CATEGORIES=	comms hamradio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	groundstation

MAINTAINER=	matt@mattsnetwork.co.uk
COMMENT=	Amateur Radio control front-end

LIB_DEPENDS=	hamlib:${PORTSDIR}/comms/hamlib

USE_X_PREFIX=	yes
USE_GNOME=	gconf gtk12 gnomecanvas
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
CONFIGURE_ARGS=	--disable-nls	# nls not supported yet
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

post-patch:
	@${REINPLACE_CMD} -e 's|GCONF_LIBS="`|GCONF_LIBS="-lgconf-gtk-1 `|' ${WRKSRC}/configure

.include <bsd.port.post.mk>