2003-12-13 21:39:49 +01:00
|
|
|
# New ports collection makefile for: gammu
|
|
|
|
# Date created: 12 december 2003
|
|
|
|
# Whom: Kirill Bezzubets <kirill@solaris.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gammu
|
2007-04-10 23:47:15 +02:00
|
|
|
PORTVERSION= 1.10.0
|
2003-12-13 21:39:49 +01:00
|
|
|
CATEGORIES= comms
|
2007-04-10 23:47:15 +02:00
|
|
|
MASTER_SITES= ftp://dl.cihar.com/gammu/releases/ \
|
|
|
|
http://dl.cihar.com/gammu/releases/
|
2003-12-13 21:39:49 +01:00
|
|
|
|
2006-11-03 20:14:35 +01:00
|
|
|
MAINTAINER= bsam@FreeBSD.org
|
2003-12-13 21:39:49 +01:00
|
|
|
COMMENT= GNU All Mobile Management Utilities
|
|
|
|
|
|
|
|
MAN1= gammu.1
|
|
|
|
USE_GMAKE= yes
|
2005-03-02 10:55:17 +01:00
|
|
|
USE_GNOME= pkgconfig
|
2003-12-13 21:39:49 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-11-15 07:52:12 +01:00
|
|
|
USE_AUTOTOOLS= autoconf:259:env
|
2007-01-10 20:23:31 +01:00
|
|
|
USE_LDCONFIG= yes
|
2003-12-13 21:39:49 +01:00
|
|
|
|
2005-09-20 19:03:59 +02:00
|
|
|
PORTDOCS= *
|
|
|
|
|
2004-11-26 16:33:05 +01:00
|
|
|
CONFIGURE_ARGS= --disable-bluerfsearch
|
2005-03-02 10:55:17 +01:00
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -fPIC"
|
2003-12-13 21:39:49 +01:00
|
|
|
|
2006-02-14 12:22:34 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-01-10 20:23:31 +01:00
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
BROKEN= does not compile with gcc 2.95
|
|
|
|
.endif
|
|
|
|
|
2005-09-20 19:03:59 +02:00
|
|
|
post-patch:
|
2006-02-14 12:22:34 +01:00
|
|
|
.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
|
2005-09-20 19:03:59 +02:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -e 's@ installdocs@@g' \
|
|
|
|
${WRKSRC}/cfg/Makefile.glo
|
|
|
|
.endif
|
|
|
|
|
2006-02-14 12:22:34 +01:00
|
|
|
.include <bsd.port.post.mk>
|