freebsd-ports/net-im/ysm/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

37 lines
723 B
Makefile

# New ports collection makefile for: ysm
# Date created: May 28, 2002
# Whom: 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
.if ${CC} == "clang"
USE_CSTD= c89
.endif
USE_ICONV= yes
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
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>