aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/libmsn/Makefile
blob: dca9f373fbec9ef0df3efaf5df829cd305532849 (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
# ex:ts=8
# Ports collection makefile for:    libmsn
# Date created:         Feb 6, 2005
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   libmsn
DISTVERSION=    4.2.1
CATEGORIES= net-im
MASTER_SITES=   SF

MAINTAINER= shanjobe@gmail.com
COMMENT=    A library for connecting to MSN Messenger service

LICENSE=    GPLv2

USE_BZIP2=  yes
USE_CMAKE=  yes
USE_OPENSSL=    yes
USE_LDCONFIG=   yes
MAKE_JOBS_SAFE= yes

post-patch:
    @${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|libdata/pkgconfig|g' \
        ${WRKSRC}/CMakeLists.txt
    @${REINPLACE_CMD} -e 's|crypto|${OPENSSLLIB}/libcrypto.so|g' -e 's|ssl|${OPENSSLLIB}/libssl.so|g' \
        ${WRKSRC}/msn/CMakeLists.txt \
        ${WRKSRC}/msntest/CMakeLists.txt
    @${REINPLACE_CMD} -e 's|SOVERSION 0.3|SOVERSION 0|g' \
        ${WRKSRC}/msn/CMakeLists.txt

.include <bsd.port.mk>