mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
18dd6954f3
- Update devel/cmake to 2.6.0 (also fix ports/123092) - Use the new CMAKE build framework in all ports using cmake Approved by: portmgr (pav)
40 lines
929 B
Makefile
40 lines
929 B
Makefile
# New ports collection makefile for: gammu
|
|
# Date created: 12 december 2003
|
|
# Whom: Kirill Bezzubets <kirill@solaris.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gammu
|
|
PORTVERSION= 1.20.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
|
|
|
|
RUN_DEPENDS= cdialog:${PORTSDIR}/devel/cdialog
|
|
|
|
CMAKE_ARGS+= -DINSTALL_LIBDATA_DIR=${LOCALBASE}/libdata
|
|
|
|
USE_CMAKE= yes
|
|
USE_GNOME= pkgconfig
|
|
|
|
.if defined(NOPORTDOCS)
|
|
EXTRA_PATCHES=files/extra-patch-CMakeLists.txt
|
|
.else
|
|
MAN1= gammu.1 gammu-config.1 jadmaker.1
|
|
PORTDOCS= *
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
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>
|