aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ace/Makefile
blob: fb66ce84b6e4c1034abc5aa80b0ac71ef6069f3b (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
44
45
46
47
48
49
50
51
52
53
54
55
56
# Ports collection makefile for:    ace
# Date created:             5 January 2004
# Whom:                 Sergey Matveychuk <sem@ciam.ru>
#
# $FreeBSD$
#

PORTNAME=   ace
PORTVERSION=    5.5.1
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   ftp://deuce.doc.wustl.edu/pub/previous_versions/ \
        http://deuce.doc.wustl.edu/old_distribution/ \
        http://www.navicon.dk/mirrors/ace/deuce.doc.wustl.edu/old_distribution/
DISTNAME=   ACE-${PORTVERSION}

MAINTAINER= sem@FreeBSD.org

COMMENT=    The Adaptive Communication Environment for C++

IGNORE=     attempts to allocate all of swap to see what happens when it fills

CONFLICTS=  ace+tao-5*

USE_BZIP2=  yes
USE_GMAKE=  yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--program-transform-name s,^,ace-,
USE_GNOME=  pkgconfig

WRKSRC=     ${WRKDIR}/ACE_wrappers
BUILD_WRKSRC=   ${WRKSRC}/objdir
INSTALL_WRKSRC= ${BUILD_WRKSRC}
NOT_FOR_ARCHS=  sparc64

MAN1=       ace-gperf.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=     does not support
.endif

.if ${OSVERSION} >= 700015 || (${OSVERSION} < 700000 && ${OSVERSION} >= 601103)
EXTRA_PATCHES=  ${FILESDIR}/extra-ace-OS_NS_netdb.inl
.endif

post-extract:
    @${MKDIR} ${BUILD_WRKSRC}

do-configure:
    @cd ${BUILD_WRKSRC}; \
    ${CONFIGURE_ENV} ../${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}

.include <bsd.port.post.mk>