2013-07-21 07:21:34 +02:00
|
|
|
# Created by: Russell Jackson <raj@csub.edu>
|
2010-06-02 18:48:12 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= augeas
|
2018-03-26 19:05:00 +02:00
|
|
|
PORTVERSION= 1.10.1
|
2010-06-02 18:48:12 +02:00
|
|
|
CATEGORIES= textproc
|
2013-05-23 03:46:47 +02:00
|
|
|
MASTER_SITES= http://download.augeas.net/
|
2010-06-02 18:48:12 +02:00
|
|
|
|
2018-03-26 19:05:00 +02:00
|
|
|
MAINTAINER= puppet@FreeBSD.org
|
2014-03-24 16:23:32 +01:00
|
|
|
COMMENT= Configuration editing tool
|
2010-06-02 18:48:12 +02:00
|
|
|
|
2014-01-25 23:03:15 +01:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
TEST_DEPENDS= bash:shells/bash \
|
|
|
|
gsed:textproc/gsed
|
2013-07-21 07:21:34 +02:00
|
|
|
|
2015-04-18 14:58:34 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2016-10-21 17:21:13 +02:00
|
|
|
USES= autoreconf cpe gmake libtool pathfix pkgconfig readline
|
2013-07-21 07:21:34 +02:00
|
|
|
USE_GNOME= libxml2
|
2010-06-02 18:48:12 +02:00
|
|
|
USE_LDCONFIG= yes
|
2014-07-01 14:48:42 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2012-02-12 14:17:44 +01:00
|
|
|
|
2010-06-02 18:48:12 +02:00
|
|
|
LENSESDIR= ${PREFIX}/share/augeas/lenses
|
|
|
|
|
|
|
|
post-patch:
|
2012-02-12 14:17:44 +01:00
|
|
|
@${REINPLACE_CMD} -e 's:/bin/bash:/usr/bin/env bash:' ${WRKSRC}/tests/*.sh
|
|
|
|
@${REINPLACE_CMD} -e 's:sed:gsed:' ${WRKSRC}/tests/test-augtool.sh
|
2015-05-26 20:39:02 +02:00
|
|
|
@${REINPLACE_CMD} -e 's:/usr/local:${LOCALBASE}:' \
|
2012-05-17 04:26:16 +02:00
|
|
|
${WRKSRC}/lenses/puppet.aug \
|
2015-05-26 20:39:02 +02:00
|
|
|
${WRKSRC}/lenses/puppet_auth.aug \
|
2012-05-17 04:26:16 +02:00
|
|
|
${WRKSRC}/lenses/puppetfileserver.aug
|
2010-06-02 18:48:12 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|