aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/ysm/Makefile
blob: 70af30f001b4ee840088ca346d368286233220aa (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
# Created by: vampiro
# $FreeBSD$

PORTNAME=   ysm
PORTVERSION=    7.2.9.9.1
PORTREVISION=   1
CATEGORIES= net-im
MASTER_SITES=   SF/${PORTNAME}v7/${PORTNAME}v7/${PORTNAME}v7%202.9.9.1
DISTNAME=   ${PORTNAME}v${PORTVERSION:S/./_/g}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Command line ICQ client with ICQ2000 and recoding support

USE_CSTD=   c89

USES=       iconv gmake
USE_BZIP2=  yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib ${ICONV_LIB}

MAN1=       ysm.1
PLIST_FILES=    bin/ysm

NO_STAGE=   yes
post-patch:
    @${REINPLACE_CMD} -e \
        's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure

.include <bsd.port.mk>