openbsd-ports/devel/libclog/Makefile

38 lines
813 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.12 2011/06/23 22:50:27 naddy Exp $
COMMENT= configurable logging library
2011-06-14 17:23:45 -04:00
DISTNAME= clog-0.3.4
PKGNAME= lib${DISTNAME}
CATEGORIES= devel
SHARED_LIBS= clog 1.3
2010-10-05 00:50:49 -04:00
HOMEPAGE= http://opensource.conformal.com/wiki/Copious_Logger
MASTER_SITES= http://opensource.conformal.com/snapshots/clog/
MAINTAINER = David Hill <dhill@openbsd.org>
# ISC
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
NO_REGRESS= Yes
2011-01-03 08:47:57 -05:00
# See bsd.lib.mk:162
.if ${MACHINE_ARCH:Mmips64*}
EXTRA_CFLAGS= -D__BUILTIN_HACK
PKG_ARGS+= -Dno_mips64=0
.else
PKG_ARGS+= -Dno_mips64=1
.endif
FAKE_FLAGS= MANDIR=${PREFIX}/man/man
do-configure:
printf "major=${LIBclog_VERSION:R}\nminor=${LIBclog_VERSION:E}\n" \
> ${WRKSRC}/shlib_version
.include <bsd.port.mk>