mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
a33191366c
Please note that lots of invocation of MAKE_CMD here are wrong as they do not properly respect MAKE_ENV and friends With hat: portmgr
36 lines
829 B
Makefile
36 lines
829 B
Makefile
# Created by: Peter Pentchev <roam@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= confget
|
|
PORTVERSION= 1.05
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://devel.ringlet.net/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
|
|
|
|
MAKE_ENV= CFLAGS_CONF=-DHAVE_FGETLN
|
|
USES= gmake
|
|
|
|
PLIST_FILES= bin/confget \
|
|
man/man1/confget.1.gz
|
|
PORTEXAMPLES= t1.ini t2.ini
|
|
|
|
EXAMPLES_MAKE_ENV= EXAMPLESDIR=${EXAMPLESDIR}
|
|
PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
|
|
PCRE_MAKE_ENV_OFF= PCRE_CFLAGS="" PCRE_LIBS=""
|
|
|
|
post-build:
|
|
@${STRIP_CMD} ${WRKSRC}/confget
|
|
|
|
regression-test test: build
|
|
cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test
|
|
|
|
.include <bsd.port.mk>
|