openbsd-ports/geo/gpsbabel/Makefile

69 lines
1.7 KiB
Makefile
Raw Normal View History

2010-11-17 03:05:12 -05:00
# $OpenBSD: Makefile,v 1.18 2010/11/17 08:05:12 espie Exp $
2006-10-30 12:44:57 -05:00
2007-09-15 17:02:37 -04:00
COMMENT-main= GPS waypoint, track, and route conversion tool
COMMENT-gui= Tk front-end to gpsbabel
2006-10-30 12:44:57 -05:00
2009-08-31 18:48:17 -04:00
VERSION= 1.3.6
2006-10-30 12:44:57 -05:00
DISTNAME= gpsbabel-${VERSION}
PKGNAME-main= gpsbabel-${VERSION}
2009-08-31 18:48:17 -04:00
PKGNAME-gui= gpsbabel-gui-${VERSION}
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
2008-10-13 10:22:56 -04:00
#MASTER_SITES= ${HOMEPAGE}
2008-10-13 15:44:37 -04:00
MASTER_SITES= http://comstyle.com/source/ \
ftp://quatramaran.ens.fr/pub/espie/
2006-10-30 12:44:57 -05:00
AUTOCONF_VERSION= 2.61
2006-10-30 12:44:57 -05:00
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS+= --with-zlib=system \
--with-shapefile=system \
--with-doc=./babelweb
#CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
# LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
# WEB=${WRKSRC}
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
2008-08-21 01:20:53 -04:00
WEB=${WRKSRC}
2006-10-30 12:44:57 -05:00
USE_GMAKE= Yes
2006-11-23 14:49:23 -05:00
MULTI_PACKAGES= -main -gui
2009-07-18 15:23:55 -04:00
MODULES= x11/tk
MODTK_VERSION= 8.4
2010-11-17 03:05:12 -05:00
BUILD_DEPENDS= textproc/libxslt \
textproc/docbook \
textproc/docbook-xsl
LIB_DEPENDS-main= devel/libusb \
devel/shapelib
2006-10-30 12:44:57 -05:00
2010-11-17 03:05:12 -05:00
WANTLIB-main= expat m c z usb>=1 shp>=1
2006-10-30 12:44:57 -05:00
2006-11-23 14:49:23 -05:00
LIB_DEPENDS-gui=
PKG_ARCH-gui= *
2010-11-17 03:05:12 -05:00
RUN_DEPENDS-gui= geo/gpsbabel \
2009-07-18 15:23:55 -04:00
${MODTK_RUN_DEPENDS}
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
2009-08-31 18:48:17 -04:00
${INSTALL_DATA} ${WRKSRC}/babelweb/htmldoc-*/*.html \
2006-10-30 12:44:57 -05:00
${PREFIX}/share/doc/gpsbabel
${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/gpsbabel
.include <bsd.port.mk>