1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/textproc/augeas/Makefile
2021-04-06 16:31:07 +02:00

35 lines
844 B
Makefile

# Created by: Russell Jackson <raj@csub.edu>
PORTNAME= augeas
PORTVERSION= 1.12.0
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://download.augeas.net/
MAINTAINER= puppet@FreeBSD.org
COMMENT= Configuration editing tool
LICENSE= LGPL21
TEST_DEPENDS= bash:shells/bash \
gsed:textproc/gsed
USES= autoreconf cpe gmake gnome libtool pathfix pkgconfig readline
USE_GNOME= libxml2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
LENSESDIR= ${PREFIX}/share/augeas/lenses
post-patch:
@${REINPLACE_CMD} -e 's:/bin/bash:/usr/bin/env bash:' ${WRKSRC}/tests/*.sh
@${REINPLACE_CMD} -e 's:sed:gsed:' ${WRKSRC}/tests/test-augtool.sh
@${REINPLACE_CMD} -e 's:/usr/local:${LOCALBASE}:' \
${WRKSRC}/lenses/puppet.aug \
${WRKSRC}/lenses/puppet_auth.aug \
${WRKSRC}/lenses/puppetfileserver.aug
.include <bsd.port.mk>