aboutsummaryrefslogtreecommitdiff
path: root/devel/zthread/Makefile
blob: 184fe5bea926ffd97f19a3326c4d957b719419a4 (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
37
38
39
40
41
42
43
# New ports collection makefile for:	ZThread
# Date created:				23 May 2001
# Whom:					pvh@egenetics.com
#
# $FreeBSD$
#

PORTNAME=	zthread
PORTVERSION=	1.5.1
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	http://www.cs.buffalo.edu/~crahen/projects/zthread/ \
		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	ZThread-${PORTVERSION}

MAINTAINER=	wjv@FreeBSD.org
COMMENT=	A platform-independent object-oriented C++ threading library

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_LIBTOOL_VER=	13
INSTALLS_SHLIB=	yes
EXAMPLESDIR=	${PREFIX}/share/examples/${PORTNAME}


.include <bsd.port.pre.mk>

.if ${ARCH} != i386
BROKEN=		"Does not compile on ${ARCH}; mixes pointers and ints"
.endif

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}/html ${EXAMPLESDIR}
.for docfile in AUTHORS ChangeLog NEWS README TODO
	${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
	${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}/html
	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>