summaryrefslogtreecommitdiff
path: root/devel/pth/Makefile
blob: 9e8f0a88495bdd0ad08d19709550e42b47b1280e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:   pth
# Version required:		1.1.3
# Date Created:			23 May 1999
# Whom:				Ralf S. Engelschall
#
# $FreeBSD$
#

DISTNAME=	pth-1.1.3
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNU} \
		ftp://ftp.engelschall.com/sw/pth/
MASTER_SITE_SUBDIR=	pth

MAINTAINER=	rse@engelschall.com

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX} \
		--enable-pthread \
		--enable-syscall-soft \
		--enable-optimize \
		--enable-batch

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."

test:
	@cd ${WRKSRC} && ${MAKE} test

post-install:
	@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.mk>