aboutsummaryrefslogtreecommitdiff
path: root/comms/flrig/Makefile
blob: fd4a18fe3376f577a9fa931ed36ac5e07a272795 (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
34
35
36
37
38
# Created by: Stephen Hurd <shurd@FreeBSD.org>
# $FreeBSD$

PORTNAME=	flrig
PORTVERSION=	1.3.54
CATEGORIES=	comms hamradio
MASTER_SITES=	SF/fldigi/${PORTNAME}

MAINTAINER=	hamradio@FreeBSD.org
COMMENT=	Ham Radio rig control program, cooperates with fldigi

LICENSE=	GPLv2

LIB_DEPENDS=	libpng.so:graphics/png \
		libfontconfig.so:x11-fonts/fontconfig \
		libfltk.so:x11-toolkits/fltk

USES=		gmake jpeg xorg
USE_XORG=	x11 xrender xcursor xfixes xext xft xinerama

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	FLTK_CONFIG="${LOCALBASE}/bin/fltk-config"
PLIST_FILES=	bin/flrig share/applications/flrig.desktop \
		 share/pixmaps/flrig.xpm
OPTIONS_DEFINE=	NATIVE_OPT

NATIVE_OPT_DESC=	Enable Native Optimizations

NATIVE_OPT_CONFIGURE_ON+=	--enable-optimizations=native
NATIVE_OPT_CONFIGURE_OFF+=	--enable-optimizations=none

.include <bsd.port.pre.mk>

.if defined(PPC_ABI) && ${PPC_ABI} == ELFv1
CFLAGS+=	-mminimal-toc
.endif

.include <bsd.port.post.mk>