blob: df1c800a528dec54148e50f24518f6313770e06a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Created by: Marco Molteni <molter@gufi.org>
# $FreeBSD$
PORTNAME= gpsdrive
PORTVERSION= 2.09
PORTREVISION= 16
CATEGORIES= astro geography
MASTER_SITES= http://www.gpsdrive.de/packages/ \
LOCAL/beech
MAINTAINER= ports@FreeBSD.org
COMMENT= GPS navigation system
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN= unfetchable
LIB_DEPENDS= libpcre.so:devel/pcre
RUN_DEPENDS= bash:shells/bash
USES= gmake libtool perl5 pkgconfig shebangfix
SHEBANG_FILES= src/gpsfetchmap.pl src/geocache2way src/gpssmswatch \
src/gpspoint2gpsdrive.pl src/gpsreplay src/wpcvt
USE_GNOME= gtk20
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-garmin
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lgmodule-2.0 -lm
INSTALL_TARGET= install-strip
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_USES_OFF= gettext-tools
post-patch:
@${REINPLACE_CMD} 's/test "$$CC" = "gcc"/false/' ${WRKSRC}/configure
post-patch-NLS-off:
@${REINPLACE_CMD} 's|SUBDIRS = src po man|SUBDIRS = src man|' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>
|