freebsd-ports/textproc/confget/Makefile
Sunpoet Po-Chuan Hsieh 3c6a0a6c39 Update to 2.3.0
Changes:	http://devel.ringlet.net/textproc/confget/CHANGES
- fix a typographical error in the previous changelog entry
- also exclude the PyPy implementation from the check for too many long options
  in the 14-bespoke-too-many test
- Python implementation:
  - reformat the source code using the black tool
  - handle input encodings correctly for the standard input
  - add the get_parser() method to return a ConfigParser object
  - make the unit tests less verbose
  - move the configuration for the black, flake8, and pylint tools out of
    tox.ini into other configuration files
- C implementation:
  - show the correct version number in the "-q features" output
2019-09-12 19:07:10 +00:00

36 lines
894 B
Makefile

# Created by: Peter Pentchev <roam@FreeBSD.org>
# $FreeBSD$
PORTNAME= confget
PORTVERSION= 2.3.0
CATEGORIES= textproc
MASTER_SITES= https://devel.ringlet.net/files/textproc/confget/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Read variables from INI-style configuration files
LICENSE= BSD2CLAUSE
OPTIONS_DEFINE= EXAMPLES PCRE
OPTIONS_DEFAULT=PCRE
USES= gmake tar:xz
MAKE_ENV= CFLAGS_CONF=-DHAVE_FGETLN
TEST_TARGET= test
PLIST_FILES= bin/confget \
man/man1/confget.1.gz
PORTEXAMPLES= t1.ini t2.ini
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
PCRE_MAKE_ENV_OFF= PCRE_CFLAGS="" PCRE_LIBS=""
do-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_PROGRAM} ${WRKSRC}/confget ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/confget.1 ${STAGEDIR}${PREFIX}/man/man1/
cd ${WRKSRC}/t/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>