123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- # $OpenBSD: Makefile,v 1.18 2017/04/10 11:46:20 sthen Exp $
- COMMENT-main= GPS processing toolkit
- COMMENT-devel= GPStk development libraries and headers
- V= 1.5
- DISTNAME= gpstk${V}
- PKGNAME-main= gpstk-${V}
- REVISION-main= 5
- PKGNAME-devel= gpstk-devel-${V}
- REVISION-devel= 7
- CATEGORIES= geo devel
- SHARED_LIBS= base 15.0 \
- geomatics 15.0 \
- gpstk 15.0 \
- mdplib 15.0 \
- procframe 15.0 \
- rlib 15.0 \
- rxio 15.0 \
- simlib 15.0 \
- toolslib 15.0 \
- vplot 15.0
- HOMEPAGE= http://www.gpstk.org/
- # LGPL
- PERMIT_PACKAGE_CDROM= Yes
- MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gpstk/}
- DISTFILES= ${DISTNAME}.src.tar.gz
- AUTOCONF_VERSION= 2.60
- AUTOMAKE_VERSION= 1.9
- CONFIGURE_STYLE= gnu
- NO_TEST= Yes
- .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
- # way faster than -O0, a bit slower than -O2, but doesn't need 800M to compile
- CFLAGS+= -O1 -g
- CXXFLAGS+= -O1 -g
- .else
- # ...but -O1 is still too much for most build machines, so just use it on the
- # fastest ones.
- CFLAGS+= -O0 -g
- CXXFLAGS+= -O0 -g
- .endif
- BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
- devel/libtool \
- ${MODGNU_AUTOMAKE_DEPENDS}
- MULTI_PACKAGES= -main -devel
- WANTLIB-main= m c ${LIBCXX} curses
- WANTLIB-devel=
- RUN_DEPENDS-devel= ${PKGNAME-main}:geo/gpstk
- pre-configure:
- cd ${WRKDIST} && sh autogen.sh
- post-install:
- @mv ${PREFIX}/bin/tracker ${PREFIX}/bin/gpstracker
- .include <bsd.port.mk>
|