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