2002-04-23 22:14:31 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: gsmlib
|
|
|
|
# Date created: Apr 24, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gsmlib
|
2003-01-03 21:13:14 +01:00
|
|
|
PORTVERSION= 1.10
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 5
|
2002-04-23 22:14:31 +02:00
|
|
|
CATEGORIES= comms
|
|
|
|
MASTER_SITES= http://www.pxh.de/fs/gsmlib/download/
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= A library to access GSM mobile phones through GSM modems
|
2002-04-23 22:14:31 +02:00
|
|
|
|
2011-06-16 15:03:20 +02:00
|
|
|
DEPRECATED= Look like an abandonware, no more public distfile
|
|
|
|
EXPIRATION_DATE= 2011-08-01
|
|
|
|
|
2004-08-18 20:15:53 +02:00
|
|
|
USE_GNOME= gnometarget lthack
|
2002-04-23 22:14:31 +02:00
|
|
|
USE_GMAKE= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2003-01-03 21:13:14 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2006-08-15 00:55:18 +02:00
|
|
|
USE_LDCONFIG= yes
|
2002-04-23 22:14:31 +02:00
|
|
|
|
|
|
|
MAN1= gsmctl.1 gsmpb.1 gsmsendsms.1 gsmsmsstore.1
|
|
|
|
MAN7= gsminfo.7
|
|
|
|
MAN8= gsmsmsd.8
|
|
|
|
|
2003-01-03 21:13:14 +01:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT \
|
2004-04-10 19:26:55 +02:00
|
|
|
${PTHREAD_CFLAGS}
|
2003-01-03 21:13:14 +01:00
|
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
|
2004-08-18 20:15:53 +02:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
2004-07-11 13:07:01 +02:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
2004-08-16 04:33:05 +02:00
|
|
|
.endif
|
|
|
|
|
2003-01-03 21:13:14 +01:00
|
|
|
post-patch:
|
|
|
|
@${GREP} -lR "<malloc.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|<malloc\.h>|<stdlib.h>|g'
|
|
|
|
|
2004-08-18 20:15:53 +02:00
|
|
|
.include <bsd.port.mk>
|