summaryrefslogtreecommitdiffstats
path: root/net-im/ysm/Makefile
blob: 12af74e43e2ddd2972a0a28718c2420a18eefd3c (plain)
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
# New ports collection makefile for:	ysm
# Date created:				May 28, 2002
# Whom:					vampiro
#
# $FreeBSD$
#

PORTNAME=	ysm
PORTVERSION=	7.2.9.2
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	ftp://rusunix.org/pub/FreeBSD/distfiles/ \
		http://aquatique.rusunix.org/
DISTNAME=	${PORTNAME}v${PORTVERSION:S/./_/g}

MAINTAINER=	aquatique@rusunix.org
COMMENT=	Command line ICQ client with ICQ2000 and recoding support

LIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv

USE_REINPLACE=	yes
USE_BZIP2=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
		CFLAGS+="-I${LOCALBASE}/include" \
		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -liconv"

MAN1=		ysm.1
PLIST_FILES=	bin/ysm

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud