aboutsummaryrefslogtreecommitdiffstats
path: root/comms/deforaos-phone/Makefile
blob: 6f2dc2cf6223d256f2296abaa0d980a3e6d2d4b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: Olivier Cochard-Labbe <olivier@cochard.me>
# $FreeBSD$

PORTNAME=   phone
PORTVERSION=    0.3.11
PORTREVISION=   1
CATEGORIES= comms
MASTER_SITES=   http://www.defora.org/os/download/download/3721/
PKGNAMEPREFIX=  deforaos-
DISTNAME=   Phone-${PORTVERSION}

MAINTAINER= olivier@cochard.me
COMMENT=    DeforaOS telephony application

LICENSE=    GPLv3

LIB_DEPENDS=    System:${PORTSDIR}/devel/deforaos-libsystem \
        Desktop:${PORTSDIR}/x11/deforaos-libdesktop \
        pulse:${PORTSDIR}/audio/pulseaudio \
        purple:${PORTSDIR}/net-im/libpurple \
        sofia-sip-ua:${PORTSDIR}/net/sofia-sip
BUILD_DEPENDS=  locker:${PORTSDIR}/x11/deforaos-locker \
        ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat

USES=       pkgconfig
USE_GNOME=  gtk20 desktopfileutils
USE_GETTEXT=    yes
INSTALLS_ICONS= yes
MAKE_ARGS+= PREFIX=${PREFIX}

post-patch:
    @${REINPLACE_CMD} -e 's,/dev/modem,/dev/cuaU0,g' \
        ${WRKSRC}/src/modems/hayes.c

.include <bsd.port.mk>