blob: be7cda36140cee1403ca80fe23ce93ca86f3b542 (
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
|
# ex:ts=8
# New ports collection makefile for: log4cpp
# Date created: May 1, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= log4cpp
DISTVERSION= 1.0
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}.x%20%28current%29/${PORTNAME}-${PORTVERSION}
MAINTAINER= clsung@FreeBSD.org
COMMENT= A library of C++ classes for flexible logging
USE_AUTOTOOLS= libtool:22
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-pthreads --disable-html-docs
USE_LDCONFIG= yes
#.include "Makefile.man"
.include <bsd.port.pre.mk>
# doxygen build is BROKEN atm
#.if exists (${LOCALBASE}/bin/doxygen) || !defined (NOPORTDOCS)
#BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
#.else
NOPORTDOCS= true
CONFIGURE_ARGS+= --disable-doxygen
#.endif
#.if !exists (${LOCALBASE}/bin/doxygen) && !defined (NOPORTDOCS)
#pre-everything::
# @${ECHO_CMD}
# @${ECHO_CMD} By default, this port uses doxygen to build its documentation.\
#It currently is not present your system, and if you do not want to install it, abort\
#this build by hitting CTRL+C and re-run the installation with -DNOPORTDOCS | ${FMT} 74
# @${ECHO_CMD}
# @sleep 3
#.endif
post-patch:
@${REINPLACE_CMD} -e 's| -pedantic||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>
|