mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
41 lines
839 B
Makefile
41 lines
839 B
Makefile
# New ports collection makefile for: pth
|
|
# Date Created: 23 May 1999
|
|
# Whom: Ralf S. Engelschall
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pth
|
|
PORTVERSION= 2.0.0
|
|
PORTREVISION= 0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= pth
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= GNU Portable Threads
|
|
|
|
INSTALLS_SHLIB= yes
|
|
LDCONFIG_DIRS= %%PREFIX%%/lib/pth
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-pthread \
|
|
--enable-syscall-soft \
|
|
--enable-optimize \
|
|
--enable-batch \
|
|
--includedir="${PREFIX}/include/pth" \
|
|
--libdir="${PREFIX}/lib/pth"
|
|
|
|
MAN1= pth-config.1 pthread-config.1
|
|
MAN3= pth.3 pthread.3
|
|
|
|
post-build:
|
|
@${ECHO_MSG} "===> Use 'make test' to run a quick test suite."
|
|
|
|
post-install:
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/pth.sh ${PREFIX}/etc/rc.d/000.pth.sh
|
|
|
|
test:
|
|
@cd ${WRKSRC} && ${MAKE} test
|
|
|
|
.include <bsd.port.mk>
|