freebsd-ports/astro/gpsdrive/Makefile
Alexey Dokuchaev 3c8b414f0d - Trim Makefile header
- Define LICENSE (GPLv2)
- Convert to OptionsNG
- Sort the knobs, cleanup
2013-02-25 10:51:28 +00:00

54 lines
951 B
Makefile

# Created by: Marco Molteni <molter@gufi.org>
# $FreeBSD$
PORTNAME= gpsdrive
PORTVERSION= 2.09
PORTREVISION= 14
CATEGORIES= astro geography
MASTER_SITES= http://www.gpsdrive.de/packages/ \
LOCAL/beech
MAINTAINER= ports@FreeBSD.org
COMMENT= GPS navigation system
LICENSE= GPLv2
LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
USE_GNOME= gtk20
USE_PERL5= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-garmin
MAKE_JOBS_UNSAFE= yes
MAN1= gpsdrive.1
MANLANG= "" de es
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
.if ! ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} 's|SUBDIRS = src po man|SUBDIRS = src man|' \
${WRKSRC}/Makefile.in
.endif
post-install:
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.mk>