25c626a334
- remove TEST option (libatf has not been required since the test suite was converted to Perl) Changelog: https://lists.sr.ht/~herrhotzenplotz/gcli-announce/%3CahrPbsvxhGUXyGzL@triton.lab.herrhotzenplotz.de%3E
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
PORTNAME= gcli
|
|
DISTVERSION= 2.12.0
|
|
CATEGORIES= devel net
|
|
MASTER_SITES= https://herrhotzenplotz.de/gcli/releases/gcli-${DISTVERSION}/
|
|
|
|
MAINTAINER= fuz@FreeBSD.org
|
|
COMMENT= CLI utility to interact with various Git forges
|
|
WWW= https://herrhotzenplotz.de/gcli/
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
libpdjson.so:textproc/pdjson
|
|
|
|
USES= libtool pathfix perl5 pkgconfig ssl tar:xz
|
|
USE_PERL5= test
|
|
|
|
HAS_CONFIGURE= yes
|
|
.if defined(WITH_DEBUG)
|
|
CONFIGURE_ARGS= --debug
|
|
.else
|
|
CONFIGURE_ARGS= --release
|
|
.endif
|
|
TEST_TARGET= check
|
|
|
|
OPTIONS_DEFINE= LOWDOWN
|
|
OPTIONS_DEFAULT= LIBEDIT LOWDOWN
|
|
OPTIONS_RADIO= LINEEDIT
|
|
OPTIONS_RADIO_LINEEDIT= LIBEDIT READLINE
|
|
LIBEDIT_USES= libedit
|
|
LIBEDIT_CONFIGURE_ENABLE= libedit
|
|
LOWDOWN_LIB_DEPENDS= liblowdown.so:textproc/lowdown
|
|
LOWDOWN_CONFIGURE_ENABLE= liblowdown
|
|
LOWDOWN_DESC= pretty-print Markdown using textproc/lowdown
|
|
READLINE_USES= readline
|
|
READLINE_CONFIGURE_ENABLE= libreadline
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gcli
|
|
|
|
.include <bsd.port.mk>
|