openbsd-ports/devel/libclog/Makefile
2011-11-14 17:05:22 +00:00

38 lines
813 B
Makefile

# $OpenBSD: Makefile,v 1.13 2011/11/14 17:05:22 dhill Exp $
COMMENT= configurable logging library
DISTNAME= clog-0.4.0
PKGNAME= lib${DISTNAME}
CATEGORIES= devel
SHARED_LIBS= clog 1.4
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
# 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>