2015-08-19 18:55:04 +00:00

32 lines
711 B
Makefile

# $OpenBSD: Makefile,v 1.5 2015/08/19 18:55:05 sthen Exp $
COMMENT= logging API for C++
DISTNAME= log4cplus-1.0.4
EXTRACT_SUFX= .tar.bz2
REVISION= 1
SHARED_LIBS += log4cplus 0.0 # 0.0
CATEGORIES= devel
HOMEPAGE= http://log4cplus.sourceforge.net/
# Apache License 2.0 + BSD style
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += m pthread stdc++
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=log4cplus/}
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CXXFLAGS+= -fPIC
pre-configure:
echo "# This file automatically generated" >> ${WRKSRC}/libversions
.for l v in ${SHARED_LIBS}
echo "LIB$l_LTVERSION = -version-info ${v:S/./:/}" >> ${WRKSRC}/libversions
.endfor
.include <bsd.port.mk>