aboutsummaryrefslogtreecommitdiffstats
path: root/devel/openthreads/Makefile
blob: 4738bd02f2810048cab094a20ec68e5660e70bc3 (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
# 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}
INSTALLS_SHLIB= yes

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

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

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -e 's,%%CXXFLAGS%%,${CXXFLAGS},g' \
    ${WRKSRC}/Make/makedefs
    @${FIND} ${WRKSRC} -name '*.o' -delete
    @${FIND} ${WRKSRC} -name '*.so' -delete

.include <bsd.port.post.mk>