aboutsummaryrefslogtreecommitdiffstats
path: root/devel/openthreads/Makefile
blob: 96ecb71c4b63882616155d137edb9e6535f6e3b3 (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
# New ports collection makefile for:    openthreads
# Date created:     16 October 2003
# Whom:         Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   openthreads
PORTVERSION=    1.2d3
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   http://www.csie.nctu.edu.tw/~yinjieh/
DISTNAME=   OpenThreads-v1.2dev3-osg0.9.6

MAINTAINER= yinjieh@csie.nctu.edu.tw
COMMENT=    A library which provides OO thread interface for C++ programmers

USE_GMAKE=  yes
USE_REINPLACE=  yes
MAKE_ENV=   PTHREAD_LIBS=${PTHREAD_LIBS}
ONLY_FOR_ARCHS=         i386

WRKSRC=     ${WRKDIR}/${DISTNAME}
MAKEFILE=   GNUmakefile

# opt = optimized ($OPTF added); debug = debug ($DBGF added); opt is default
ALL_TARGET= opt

post-patch:
    @${REINPLACE_CMD} -e 's,%%CXXFLAGS%%,${CXXFLAGS},g' \
    ${WRKSRC}/Make/makedefs

.include <bsd.port.mk>