freebsd-ports/comms/gsmlib/Makefile
Joe Marcus Clarke 186b8ba82f Add USE_GETTEXT and bump PORTREVISION.
Submitted by:	trevor
Tested by:	bento
2004-02-04 04:36:30 +00:00

39 lines
928 B
Makefile

# ex:ts=8
# Ports collection makefile for: gsmlib
# Date created: Apr 24, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gsmlib
PORTVERSION= 1.10
PORTREVISION= 2
CATEGORIES= comms
MASTER_SITES= http://www.pxh.de/fs/gsmlib/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= A library to access GSM mobile phones through GSM modems
USE_GETOPT_LONG= yes
USE_GETTEXT= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes
MAN1= gsmctl.1 gsmpb.1 gsmsendsms.1 gsmsmsstore.1
MAN7= gsminfo.7
MAN8= gsmsmsd.8
CPPFLAGS= -I${LOCALBASE}/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT \
${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
post-patch:
@${GREP} -lR "<malloc.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|<malloc\.h>|<stdlib.h>|g'
.include <bsd.port.mk>