blob: 9896f0a5015a395025e3a73f6ce49302a8f8d8ff (
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
|
# New ports collection makefile for: gammu
# Date created: 12 december 2003
# Whom: Kirill Bezzubets <kirill@solaris.ru>
#
# $FreeBSD$
#
PORTNAME= gammu
PORTVERSION= 1.10.0
CATEGORIES= comms
MASTER_SITES= ftp://dl.cihar.com/gammu/releases/ \
http://dl.cihar.com/gammu/releases/
MAINTAINER= bsam@FreeBSD.org
COMMENT= GNU All Mobile Management Utilities
MAN1= gammu.1
USE_GMAKE= yes
USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
USE_AUTOTOOLS= autoconf:259:env
USE_LDCONFIG= yes
PORTDOCS= *
CONFIGURE_ARGS= --disable-bluerfsearch
CONFIGURE_ENV= CFLAGS="${CFLAGS} -fPIC"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= does not compile with gcc 2.95
.endif
post-patch:
.if ${OSVERSION} < 500000
@${REINPLACE_CMD} -e 's|%zd|%d|g' -e 's|%zi|%i|g' \
${WRKSRC}/common/phone/at/atgen.c \
${WRKSRC}/common/phone/obex/obexgen.c \
${WRKSRC}/gammu/depend/nokia/dct3trac/wmx-gsm.c
.endif
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's@ installdocs@@g' \
${WRKSRC}/cfg/Makefile.glo
.endif
.include <bsd.port.post.mk>
|