freebsd-ports/net/ayttm/Makefile
Jim Mock b59a41647f * Improve pre-patch.
* Add PTHREAD_CFLAGS.

PR:		30000
Submitted by:	Patrick Li <pat@databits.net>
2001-08-28 08:13:01 +00:00

29 lines
607 B
Makefile

# New ports collection makefile for: everybuddy
# Date created: 1 Mar 2000
# Whom: Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= everybuddy
PORTVERSION= 0.2.1b6
CATEGORIES= net
MASTER_SITES= http://www.everybuddy.com/files/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/beta/}
MAINTAINER= jim@FreeBSD.org
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GTK= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
MAN1= everybuddy.1
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \
s|-lpthreads|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure
.include <bsd.port.mk>