blob: 667bf8e88aeb311902ed9bc4fa592653c73788b3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Russell Jackson <raj@csub.edu>
# $FreeBSD$
PORTNAME= augeas
PORTVERSION= 1.2.0
CATEGORIES= textproc
MASTER_SITES= http://download.augeas.net/
MAINTAINER= swills@FreeBSD.org
COMMENT= Configuration editing tool
LICENSE= LGPL21
TEST_DEPENDS= bash:${PORTSDIR}/shells/bash \
gsed:${PORTSDIR}/textproc/gsed
USE_GNOME= libxml2
USES= gmake pkgconfig
USE_AUTOTOOLS= autoconf aclocal autoheader automake libtool
ACLOCAL_ARGS= -I . -I gnulib/m4 -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS= --add-missing
USE_LDCONFIG= yes
LENSESDIR= ${PREFIX}/share/augeas/lenses
post-patch:
@${REINPLACE_CMD} -e 's:$$(libdir)/pkgconfig:${PREFIX}/libdata/pkgconfig:' ${WRKSRC}/Makefile.am
@${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:%%LOCALBASE%%:${LOCALBASE}:' \
${WRKSRC}/lenses/puppet.aug \
${WRKSRC}/lenses/puppetfileserver.aug
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaugeas.so.18
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfa.so.5
.include <bsd.port.mk>
|