2016-10-09 03:22:59 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= opencpn
|
|
|
|
PORTVERSION= 4.4.0
|
|
|
|
DISTVERSIONPREFIX= v
|
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
2017-09-10 22:55:38 +02:00
|
|
|
PORTREVISION= 4
|
2016-10-09 03:32:25 +02:00
|
|
|
CATEGORIES= astro geography
|
2016-10-09 03:22:59 +02:00
|
|
|
|
2017-06-27 01:17:20 +02:00
|
|
|
MAINTAINER= ml@netfence.it
|
2016-10-09 03:22:59 +02:00
|
|
|
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
|
|
|
|
|
2017-09-22 12:48:28 +02:00
|
|
|
USES= cmake compiler:c++11-lib gettext-tools localbase
|
2016-10-09 03:22:59 +02:00
|
|
|
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
|
2016-10-09 06:32:45 +02:00
|
|
|
LDFLAGS+= -Wl,-E # plugins
|
2016-10-09 03:22:59 +02:00
|
|
|
LDFLAGS+= -Wl,--as-needed # ICE, SM, Xext
|
|
|
|
|
2017-01-31 04:40:46 +01:00
|
|
|
BROKEN_aarch64= Fails to compile: use of undeclared identifier rand
|
|
|
|
|
2016-10-09 03:22:59 +02:00
|
|
|
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>
|