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

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

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

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

.include <bsd.port.mk>