# New ports collection makefile for: gpsdrive # Date Created: 16 April 2002 # Whom: Marco Molteni # # $FreeBSD: ports/astro/gpsdrive/Makefile,v 1.36 2006/08/14 10:08:21 clsung Exp $ # PORTNAME= gpsdrive PORTVERSION= 2.09 PORTREVISION= 5 CATEGORIES= astro MASTER_SITES= http://www.gpsdrive.cc/ \ http://gpsdrive.teachlinux.com/ MAINTAINER= ports@FreeBSD.org # For commits overview see: http://www.freshports.org/astro/gpsdrive/ COMMENT= A GPS navigation system LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre USE_GETOPT_LONG=yes USE_PERL5= yes USE_GMAKE= yes USE_X_PREFIX= yes USE_GNOME= gtk20 USE_AUTOTOOLS= libtool:15 current=YES # If current not defined, based on Release 6.1 .if !defined (current) USE_REINPLACE= yes .endif CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \ LDFLAGS=-L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-garmin .if defined (current) USE_LDCONFIG= yes .else INSTALLS_SHLIB= yes .endif .if defined(WITHOUT_NLS) PLIST_SUB+= NLS="@comment " .else USE_GETTEXT= yes PLIST_SUB+= NLS="" .endif MAN1= gpsdrive.1 MANLANG= "" de es post-patch: .if defined(WITHOUT_NLS) @${REINPLACE_CMD} 's|SUBDIRS = src po man|SUBDIRS = src man|' \ ${WRKSRC}/Makefile.in .endif post-install: @${CAT} ${PKGMESSAGE} .include