aboutsummaryrefslogtreecommitdiffstats
path: root/devel/commoncpp/Makefile
blob: 113002ca2ac4262ffcf5541677e64118d7e6997b (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
# New ports collection makefile for:    CommonC++
# Date created:             25 July 2000
# Whom:                 David Sugar <dyfet@gnu.org>
#
# $FreeBSD$
#

PORTNAME=   commoncpp2
PORTVERSION=    1.3.13
PORTEPOCH=  2
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnutelephony

MAINTAINER= ports@FreeBSD.org
COMMENT=    GNU project portable class framework for C++

USE_GNOME=  gnomehack gnometarget

.if !defined(WITHOUT_LIBXML2)
USE_GNOME+= libxml2
.else
CONFIGURE_ARGS= --without-libxml2
.endif

USE_GETOPT_LONG=    yes
USE_GMAKE=  yes
USE_INC_LIBTOOL_VER=    15
USE_GCC=    3.4
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
        ac_cv_path_DOXYGEN=no
INSTALLS_SHLIB= yes

INFO=       commoncpp2

CPPFLAGS=   -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS=    -L${LOCALBASE}/lib ${PTHREAD_LIBS}

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700000
BROKEN=     "Does not compile on FreeBSD >= 7.0"
.endif

pre-configure:
    @${CP} ${LTMAIN} ${WRKSRC}/autoconf

.include <bsd.port.post.mk>