openbsd-ports/geo/gpsbabel/Makefile

63 lines
1.6 KiB
Makefile
Raw Normal View History

2006-12-15 12:39:42 -05:00
# $OpenBSD: Makefile,v 1.6 2006/12/15 17:39:42 sturm Exp $
2006-10-30 12:44:57 -05:00
2006-11-23 14:49:23 -05:00
COMMENT-main= "GPS waypoint, track, and route conversion tool"
2006-10-30 12:44:57 -05:00
COMMENT-gui= "Tk front-end to gpsbabel"
VERSION= 1.3.2
2006-10-30 12:44:57 -05:00
DISTNAME= gpsbabel-${VERSION}
PKGNAME-main= gpsbabel-${VERSION}p1
2006-11-23 14:49:23 -05:00
PKGNAME-gui= gpsbabel-gui-${VERSION}p0
2006-10-30 12:44:57 -05:00
CATEGORIES= geo
HOMEPAGE= http://www.gpsbabel.org/
MAINTAINER= Chris Kuethe <ckuethe@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gpsbabel/}
AUTOCONF_VERSION= 2.59
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS+= --with-zlib=system \
--with-shapefile=system \
--with-doc=./babelweb
2006-10-30 12:44:57 -05:00
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
WEB=${WRKSRC}
USE_GMAKE= Yes
NO_REGRESS= Yes # expects FP conversion to be exact and invertible
2006-11-23 14:49:23 -05:00
MULTI_PACKAGES= -main -gui
2006-12-15 12:39:42 -05:00
BUILD_DEPENDS= ::textproc/libxslt \
2006-10-30 12:44:57 -05:00
::textproc/docbook \
::textproc/docbook-xsl
2006-11-23 14:49:23 -05:00
LIB_DEPENDS-main= expat.>=4::textproc/expat \
2006-10-30 12:44:57 -05:00
usb.>=1::devel/libusb \
shp.>=1::devel/shapelib
2006-11-23 14:49:23 -05:00
WANTLIB-main= m c z
2006-10-30 12:44:57 -05:00
2006-11-23 14:49:23 -05:00
LIB_DEPENDS-gui=
PKG_ARCH-gui= *
RUN_DEPENDS-gui= ::geo/gpsbabel \
:tk-8.4.*:x11/tk/8.4
2006-10-30 12:44:57 -05:00
post-build:
gmake -C ${WRKSRC} doc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gpsbabel ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/guibabel ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gpsbabel
${INSTALL_DATA} ${WRKSRC}/babelweb/htmldoc-${VERSION}/*.html \
${PREFIX}/share/doc/gpsbabel
${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/gpsbabel
.include <bsd.port.mk>