openbsd-ports/devel/cunit/Makefile

33 lines
648 B
Makefile

# $OpenBSD: Makefile,v 1.12 2019/07/12 20:44:06 sthen Exp $
COMMENT = c unit testing framework
VER = 2.1-2
DISTNAME = CUnit-${VER}
PKGNAME = cunit-${VER:S/-/./}
REVISION = 2
SHARED_LIBS = cunit 1.0
CATEGORIES = devel
HOMEPAGE = http://cunit.sourceforge.net/
# LGPL
PERMIT_PACKAGE = Yes
WANTLIB += curses
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
.include <bsd.port.mk>