38 lines
872 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.15 2019/07/12 20:47:17 sthen Exp $
COMMENT= deductive database system similar to Prolog
2016-06-17 18:37:41 +00:00
DISTNAME= datalog-2.6
REVISION= 1
2012-05-11 21:36:48 +00:00
SHARED_LIBS += datalog 0.0 # 0.0
CATEGORIES= lang
2012-12-28 16:43:11 +00:00
HOMEPAGE= http://datalog.sourceforge.net/
# LGPLv2.1+
PERMIT_PACKAGE= Yes
WANTLIB += ${MODLUA_WANTLIB}
WANTLIB += c curses m readline
2012-12-28 16:43:11 +00:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=datalog/}
MODULES= lang/lua
# keep same version as bundled
MODLUA_VERSION= 5.3
MODLUA_SA= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-lua \
--with-lua-suffix=${MODLUA_VERSION}
# configure is wrong, the --with-lua-suffix option IS used
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${MODLUA_INCL_DIR}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
# Some extra checks in addition to the check target
2013-03-11 11:20:26 +00:00
post-test:
cd ${WRKSRC} && /bin/sh try.sh
.include <bsd.port.mk>