freebsd-ports/astro/gpsdrive/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

52 lines
1,006 B
Makefile

# New ports collection makefile for: gpsdrive
# Date Created: 16 April 2002
# Whom: Marco Molteni <molter@gufi.org>
#
# $FreeBSD$
#
PORTNAME= gpsdrive
PORTVERSION= 2.09
PORTREVISION= 4
CATEGORIES= astro
MASTER_SITES= http://www.gpsdrive.cc/ \
http://gpsdrive.teachlinux.com/
MAINTAINER= ports@FreeBSD.org
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:inc
USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-garmin
INSTALLS_SHLIB= yes
.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 <bsd.port.mk>