summaryrefslogtreecommitdiff
path: root/devel/pthread-sem/Makefile
blob: f7bc51ecffb77f79e1b0a22ac743f27a03b5bda1 (plain)
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
# $NetBSD: Makefile,v 1.1.1.1 2004/01/20 21:29:10 rh Exp $
#

DISTNAME=	pthread-sem-1.0
CATEGORIES=	devel
MASTER_SITES=	http://www.cit.gu.edu.au/teaching/2105CIT/software/

MAINTAINER=	rh@NetBSD.org
COMMENT=	Semaphore implementation for (PTH) pthreads

USE_BUILDLINK3=	yes
PTHREAD_OPTS+=	require

TEST_TARGET=	test

MAKE_ENV+=	LIBDIR=${PREFIX}/lib
MAKE_ENV+=	MANDIR=${PREFIX}/man
MAKE_ENV+=	DESTDIR=/	# trick bsd.lib.mk into adding -R
MAKE_ENV+=	NOPROFILE=1

MANCOMPRESSED_IF_MANZ=	yes

post-install:
	${INSTALL_DATA}	${WRKSRC}/semaphore.h ${PREFIX}/include

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"