freebsd-ports/comms/gammu/Makefile
Boris Samorodov cbff9e3ade . update to version 1.26.1;
. replace one master site by a more responsive one.

Full list of changes since 1.26.0:
* CPIN reply is handled like regular one except in A2D case (bug #994).
* Fix finding first empty position when memory is empty (bug #996).
* Fixed parsing of SMS status reports.
* Fixed parsing of text messages with new lines (bug #995).
2009-09-08 09:21:53 +00:00

56 lines
1.4 KiB
Makefile

# New ports collection makefile for: gammu
# Date created: 12 december 2003
# Whom: Kirill Bezzubets <kirill@solaris.ru>
#
# $FreeBSD$
#
PORTNAME= gammu
PORTVERSION= 1.26.1
CATEGORIES= comms
MASTER_SITES= http://dl.cihar.com/gammu/releases/ \
http://dl.cihar.com.nyud.net/gammu/releases/
MAINTAINER= bsam@FreeBSD.org
COMMENT= GNU All Mobile Management Utilities
RUN_DEPENDS= cdialog:${PORTSDIR}/devel/cdialog
CMAKE_ARGS+= -DINSTALL_LIBDATA_DIR=${LOCALBASE}/libdata
USE_CMAKE= yes
USE_GNOME= pkgconfig
.if defined(WITH_PYTHON_GAMMU)
USE_PYTHON= YES
PLIST_SUB= WITH_PYTHON_GAMMU=""
.else
PLIST_SUB= WITH_PYTHON_GAMMU="@comment "
.endif
PORTDOCS= *
.if defined(NOPORTDOCS)
CMAKE_ARGS+= -DINSTALL_DOC=OFF -DINSTALL_PHP_EXAMPLES=OFF -DINSTALL_MEDIA=OFF \
-DINSTALL_GNAPPLET=OFF
.else
MAN1= gammu.1 gammu-config.1 jadmaker.1 gammu-smsd.1 gammu-smsd-inject.1 \
gammu-smsd-monitor.1
MAN5= gammu-smsdrc.5 gammurc.5
MAN7= gammu-smsd-files.7 gammu-smsd-mysql.7 gammu-smsd-pgsql.7 \
gammu-smsd-dbi.7 gammu-smsd-tables.7
.endif
.include <bsd.port.pre.mk>
.if (${ARCH} == "amd64" || ${ARCH} == "sparc64")
USE_GCC= 4.3
.endif
post-patch:
@${REINPLACE_CMD} -i '' -e 's:bash:sh:' -e 's:dialog:cdialog:' ${WRKSRC}/utils/gammu-config
.if ${OSVERSION} < 700042
@${REINPLACE_CMD} -e 's@ -Wno-pointer-sign@@g' ${WRKSRC}/CMakeLists.txt
.endif
.include <bsd.port.post.mk>