1999-07-05 08:33:44 +02:00
|
|
|
# New ports collection makefile for: pth
|
1999-05-23 16:54:10 +02:00
|
|
|
# Date Created: 23 May 1999
|
|
|
|
# Whom: Ralf S. Engelschall
|
|
|
|
#
|
1999-08-29 13:11:15 +02:00
|
|
|
# $FreeBSD$
|
1999-05-23 16:54:10 +02:00
|
|
|
#
|
|
|
|
|
2000-04-11 23:30:15 +02:00
|
|
|
PORTNAME= pth
|
2003-02-17 12:15:32 +01:00
|
|
|
PORTVERSION= 2.0.0
|
|
|
|
PORTREVISION= 0
|
1999-05-23 16:54:10 +02:00
|
|
|
CATEGORIES= devel
|
2002-04-28 09:38:54 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-07-16 17:11:46 +02:00
|
|
|
MASTER_SITE_SUBDIR= pth
|
1999-05-23 16:54:10 +02:00
|
|
|
|
2001-06-06 16:58:18 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= GNU Portable Threads
|
1999-05-23 16:54:10 +02:00
|
|
|
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2001-09-11 16:49:45 +02:00
|
|
|
LDCONFIG_DIRS= %%PREFIX%%/lib/pth
|
2001-07-30 18:38:49 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --enable-pthread \
|
1999-07-11 17:49:33 +02:00
|
|
|
--enable-syscall-soft \
|
1999-08-27 18:08:53 +02:00
|
|
|
--enable-optimize \
|
2001-09-11 16:49:45 +02:00
|
|
|
--enable-batch \
|
|
|
|
--includedir="${PREFIX}/include/pth" \
|
|
|
|
--libdir="${PREFIX}/lib/pth"
|
2003-11-21 13:25:04 +01:00
|
|
|
USE_REINPLACE= yes
|
1999-05-23 16:54:10 +02:00
|
|
|
|
1999-08-19 17:40:56 +02:00
|
|
|
MAN1= pth-config.1 pthread-config.1
|
|
|
|
MAN3= pth.3 pthread.3
|
1999-05-23 16:54:10 +02:00
|
|
|
|
2003-11-21 13:25:04 +01:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
"s,-funroll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math,${CFLAGS}," \
|
|
|
|
${WRKSRC}/configure
|
1999-06-28 15:29:40 +02:00
|
|
|
post-build:
|
|
|
|
@${ECHO_MSG} "===> Use 'make test' to run a quick test suite."
|
|
|
|
|
2002-04-28 09:38:54 +02:00
|
|
|
post-install:
|
|
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/pth.sh ${PREFIX}/etc/rc.d/000.pth.sh
|
|
|
|
|
1999-06-28 15:29:40 +02:00
|
|
|
test:
|
|
|
|
@cd ${WRKSRC} && ${MAKE} test
|
|
|
|
|
1999-05-23 16:54:10 +02:00
|
|
|
.include <bsd.port.mk>
|