summaryrefslogtreecommitdiff
path: root/comms/grig/Makefile
blob: d8610828580e611af58dab94c685d167fe750551 (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
36
37
# 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=	2
CATEGORIES=	comms
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
USE_REINPLACE=	yes
CONFIGURE_ARGS=	--disable-nls	# nls not supported yet
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 502126
BROKEN=		"Does not compile on FreeBSD >= 5.x"
.endif

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

.include <bsd.port.post.mk>