aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/cli-msn/Makefile
blob: f5efd28430e7a10929d9889fb4993fb5a9a1f648 (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
36
37
38
39
40
41
42
# New ports collection makefile for:    climsn
# Date created:     2006-03-31
# Whom:         Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
#
# $FreeBSD$
#

PORTNAME=   msn
PORTVERSION=    2.3.2
CATEGORIES= net-im
MASTER_SITES=   http://mor-pah.net/code/
PKGNAMEPREFIX=  cli-
DISTNAME=   CLI-MSN-${PORTVERSION}

MAINTAINER= acm@FreeBSD.org
COMMENT=    Command line msn messenger

LIB_DEPENDS=    curl.6:${PORTSDIR}/ftp/curl

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include ${PTHREAD_LIBS}
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

WRKSRC=     ${WRKDIR}/climsn
SUB_FILES=  pkg-message
PLIST_FILES=    bin/cli-msn \
        share/${PKGNAMEPREFIX}${PORTNAME}/msn.conf \
        share/${PKGNAMEPREFIX}${PORTNAME}/curl-ca-bundle.crt
PLIST_DIRS= share/${PKGNAMEPREFIX}${PORTNAME}
DATADIR=    ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/msn ${PREFIX}/bin/cli-msn

post-install:
    ${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/msn.conf ${WRKSRC}/curl-ca-bundle.crt ${DATADIR}
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>