aboutsummaryrefslogtreecommitdiffstats
path: root/audio/skype-call-recorder/Makefile
blob: 3d0f7ac1efa8fed2de26dcbdcf24c5b67397253b (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
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$

PORTNAME=   skype-call-recorder
PORTVERSION=    0.8
CATEGORIES= audio
MASTER_SITES=   http://atdot.ch/scr/files/${PORTVERSION}/

MAINTAINER= danfe@FreeBSD.org
COMMENT=    Skype call recorder

LICENSE=    GPLv2

LIB_DEPENDS=    libmp3lame.so:${PORTSDIR}/audio/lame \
        libid3.so:${PORTSDIR}/audio/id3lib \
        libvorbisenc.so:${PORTSDIR}/audio/libvorbis

USES=       cmake
USE_QT4=    corelib dbus gui network \
        qmake_build moc_build rcc_build uic_build

PLIST_FILES=    bin/skype-call-recorder \
        share/applications/skype-call-recorder.desktop \
        share/icons/hicolor/128x128/apps/skype-call-recorder.png

post-patch:
    @${REINPLACE_CMD} -e 's,VORBISENC_LIBRARY},& -logg -lvorbis,' \
        -e '/CMAKE_CXX_FLAGS_RELEASE/d' ${WRKSRC}/CMakeLists.txt
    @${REINPLACE_CMD} -e 's,date --utc,TZ=UTC date,' \
        ${WRKSRC}/makeversion

.include <bsd.port.mk>