51 lines
1.1 KiB
Makefile
Raw Normal View History

2006-11-23 07:52:15 +00:00
# $OpenBSD: Makefile,v 1.12 2006/11/23 07:52:15 ckuethe Exp $
2006-11-23 07:52:15 +00:00
COMMENT-main= "service daemon that monitors one or more GPSes"
COMMENT-motif= "motif-based test apps using gpsd"
VERSION= 2.33
DISTNAME= gpsd-${VERSION}
2006-11-23 07:52:15 +00:00
PKGNAME-main= gpsd-${VERSION}p0
PKGNAME-motif= gpsd-motif-${VERSION}p0
SHARED_LIBS= gps 16.0
CATEGORIES= misc geo
HOMEPAGE= http://gpsd.berlios.de/
MAINTAINER= Chris Kuethe <ckuethe@openbsd.org>
2006-11-23 07:52:15 +00:00
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2006-08-01 18:38:22 +00:00
MASTER_SITES= ${MASTER_SITE_BERLIOS:=gpsd/}
USE_LIBTOOL= yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-ntpshm
PSEUDO_FLAVORS= no_motif
FLAVOR?=
2006-11-23 07:52:15 +00:00
MULTI_PACKAGES= -main
.if !${FLAVOR:L:Mno_motif}
2006-11-23 07:52:15 +00:00
MULTI_PACKAGES+= -motif
LIB_DEPENDS= ::x11/openmotif
2006-11-13 11:20:24 +00:00
USE_X11= Yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2006-11-23 07:52:15 +00:00
.else
CONFIGURE_ARGS+= --without-x
.endif
2006-11-23 07:52:15 +00:00
WANTLIB-main= m ncurses c pthread
LIB_DEPENDS-main=
2006-11-23 07:52:15 +00:00
WANTLIB-motif= ICE Xaw X11 SM Xt c m pthread
LIB_DEPENDS-motif= Xm::x11/openmotif gps::misc/gpsd
.include <bsd.port.mk>