09f9633cb6
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
44 lines
981 B
Makefile
44 lines
981 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= opencpn
|
|
PORTVERSION= 4.4.0
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 5
|
|
CATEGORIES= astro geography
|
|
|
|
MAINTAINER= ml@netfence.it
|
|
COMMENT= Concise ChartPlotter/Navigator
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
LIB_DEPENDS= libportaudio.so:audio/portaudio \
|
|
libcurl.so:ftp/curl \
|
|
libexpat.so:textproc/expat2 \
|
|
libtinyxml.so:textproc/tinyxml
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= ${GH_PROJECT}
|
|
GH_PROJECT= OpenCPN
|
|
|
|
USES= cmake compiler:c++11-lib gettext-tools localbase
|
|
USE_CXXSTD= c++11
|
|
USE_GL= gl
|
|
USE_GNOME= cairo gdkpixbuf2 gtk20
|
|
USE_WX= 3.0+
|
|
USE_XORG= x11
|
|
INSTALLS_ICONS= yes
|
|
|
|
CMAKE_ARGS= -DBUNDLE_DOCS=ON -DBUNDLE_GSHHS=CRUDE -DBUNDLE_TCDATA=ON
|
|
LDFLAGS+= -Wl,-E # plugins
|
|
LDFLAGS+= -Wl,--as-needed # ICE, SM, Xext
|
|
|
|
BROKEN_aarch64= Fails to compile: use of undeclared identifier rand
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \
|
|
${WRKSRC}/src/mygdal/cpl_csv.cpp \
|
|
${WRKSRC}/src/mygdal/cpl_findfile.cpp \
|
|
${WRKSRC}/data/doc/help_en_US.html
|
|
|
|
.include <bsd.port.mk>
|