2008-10-20 16:00:21 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2008/10/20 20:00:21 sthen Exp $
|
2008-06-07 19:27:17 -04:00
|
|
|
|
2008-08-23 12:29:34 -04:00
|
|
|
COMMENT-main= GPS processing toolkit
|
|
|
|
COMMENT-devel= GPStk development libraries and headers
|
2008-06-07 19:27:17 -04:00
|
|
|
|
|
|
|
V= 1.5
|
|
|
|
DISTNAME= gpstk${V}
|
2008-10-20 16:00:21 -04:00
|
|
|
PKGNAME-main= gpstk-${V}p3
|
|
|
|
PKGNAME-devel= gpstk-devel-${V}p3
|
2008-06-07 19:27:17 -04:00
|
|
|
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/
|
|
|
|
|
|
|
|
MAINTAINER= Chris Kuethe <ckuethe@openbsd.org>
|
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gpstk/}
|
|
|
|
DISTFILES= ${DISTNAME}.src.tar.gz
|
|
|
|
|
|
|
|
AUTOCONF_VERSION= 2.60
|
|
|
|
AUTOMAKE_VERSION= 1.9
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
VMEM_WARNING= Yes
|
2008-10-20 16:00:21 -04:00
|
|
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
|
2008-06-07 19:27:17 -04:00
|
|
|
# way faster than -O0, a bit slower than -O2, but doesn't need 800M to compile
|
|
|
|
CFLAGS+= -O1 -g
|
|
|
|
CXXFLAGS+= -O1 -g
|
2008-10-20 16:00:21 -04:00
|
|
|
.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
|
2008-07-01 19:39:07 -04:00
|
|
|
.endif
|
2008-06-07 19:27:17 -04:00
|
|
|
|
2008-08-23 12:29:34 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2008-06-12 13:28:15 -04:00
|
|
|
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
|
|
|
|
${MODGNU_AUTOMAKE_DEPENDS}
|
2008-06-07 19:27:17 -04:00
|
|
|
MULTI_PACKAGES= -main -devel
|
|
|
|
WANTLIB-main= m c stdc++ curses
|
|
|
|
WANTLIB-devel=
|
2008-06-12 13:28:15 -04:00
|
|
|
RUN_DEPENDS-devel= :gpstk-main-$V:geo/gpstk
|
2008-06-07 19:27:17 -04:00
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKDIST} && sh autogen.sh
|
|
|
|
|
2008-06-12 13:28:15 -04:00
|
|
|
post-install:
|
|
|
|
@mv ${PREFIX}/bin/tracker ${PREFIX}/bin/gpstracker
|
|
|
|
|
2008-06-07 19:27:17 -04:00
|
|
|
.include <bsd.port.mk>
|