aboutsummaryrefslogblamecommitdiff
path: root/comms/flrig/Makefile
blob: 0d230b091db4c3f36e47c88954e00d73f3dbb858 (plain) (tree)
1
2
3
4
5
6
7
8
                                              

                     
                      
                              
                                     
 
                                    



                                                                     
                                        

                                                       
 
                               
                                                            
 







                                                            

                                                             
 
                          
 




                                           
# Created by: Stephen Hurd <shurd@FreeBSD.org>

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>