26 lines
608 B
Makefile
26 lines
608 B
Makefile
# $NetBSD: Makefile,v 1.2 2005/04/11 21:45:37 tv 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
|
|
|
|
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"
|