35 lines
715 B
Makefile

# $OpenBSD: Makefile,v 1.9 2015/03/16 18:07:39 naddy Exp $
COMMENT = c unit testing framework
VER = 2.1-2
DISTNAME = CUnit-${VER}
PKGNAME = cunit-${VER:S/-/./}
REVISION = 0
SHARED_LIBS = cunit 1.0
CATEGORIES = devel
HOMEPAGE = http://cunit.sourceforge.net/
MAINTAINER = Markus Bergkvist <markus.bergkvist@telia.com>
# LGPL
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=cunit/}
EXTRACT_SUFX = -src.tar.bz2
FAKE_FLAGS += docdir=${PREFIX}/share/doc/CUnit/ \
dochdrdir=${PREFIX}/share/doc/CUnit/headers/
CONFIGURE_STYLE = autoconf
CONFIGURE_ENV = LDFLAGS="-lncurses"
CONFIGURE_ARGS += --enable-curses
AUTOCONF_VERSION = 2.67
WANTLIB += ncurses
.include <bsd.port.mk>