freebsd-ports/devel/kyua-cli/Makefile
Julio Merino a52d08518d Turn devel/kyua into a meta-port and add devel/kyua-cli.
The existing devel/kyua package should have been named devel/kyua-cli to
match the upstream structure.  Do the rename now and make devel/kyua be
a meta-port that depends on all kyua packages.

Because there is no version number to represent Kyua as a whole (that's
a problem I have to resolve upstream somehow), bump the epoch of
devel/kyua and use today's date as the version.

No entry should be necessary in MOVED because upgrading to the new
meta-port should do the right thing.

Approved by:	bdrewery
2014-02-15 23:45:22 +00:00

53 lines
1.2 KiB
Makefile

# Created by: Alan Somers <asomers@FreeBSD.org>
# $FreeBSD$
PORTNAME= kyua-cli
PORTVERSION= 0.8
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PROJECTHOST= kyua
MAINTAINER= jmmv@FreeBSD.org
COMMENT= Kyua (automated testing framework) - Command line interface
LICENSE= BSD
LIB_DEPENDS= liblutok.so.3:${PORTSDIR}/devel/lutok
LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
BUILD_DEPENDS= kyua-testers>=0.2:${PORTSDIR}/devel/kyua-testers
RUN_DEPENDS:= ${BUILD_DEPENDS}
GNU_CONFIGURE= yes
USES= pkgconfig
TESTS_USER= tests
USERS= ${TESTS_USER}
SUB_FILES= kyua.conf
SUB_LIST= TESTS_USER=${TESTS_USER}
OPTIONS_DEFINE= DOCS EXAMPLES TEST
OPTIONS_SUB= yes
TEST_CONFIGURE_WITH= atf
.include <bsd.port.options.mk>
CONFIGURE_ARGS+= --without-doxygen
CONFIGURE_ARGS+= --docdir=${DOCSDIR}
MAKE_FLAGS+= examplesdir=${EXAMPLESDIR}
MAKE_FLAGS+= pkgdatadir=${DATADIR}
.if ! ${PORT_OPTIONS:MDOCS}
MAKE_FLAGS+= doc_DATA=
.endif
.if ! ${PORT_OPTIONS:MEXAMPLES}
MAKE_FLAGS+= dist_examples_DATA=
.endif
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/kyua/
${INSTALL_DATA} ${WRKDIR}/kyua.conf ${STAGEDIR}${PREFIX}/etc/kyua/
${INSTALL_DATA} ${WRKSRC}/examples/Kyuafile.top \
${STAGEDIR}${PREFIX}/tests/Kyuafile
.include <bsd.port.mk>