aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/augeas/Makefile
blob: 9ad2f4bd0d4122192978854d065d977bb7df3f5a (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
39
40
41
# vim: ts=8 sw=8
# Ports collection makefile for:  textproc/augeas
# Date created:           19 May 2010
# Whom:               Russell Jackson <raj@csub.edu>
#
# $FreeBSD$
#

PORTNAME=   augeas
PORTVERSION=    0.7.1
PORTREVISION=   2
CATEGORIES= textproc
MASTER_SITES=   http://augeas.net/download/

MAINTAINER= raj@csub.edu
COMMENT=    A configuration editing tool

USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  autoconf aclocal autoheader automake libtool
ACLOCAL_ARGS=   -I . -I gnulib/m4 -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS=  --add-missing
USE_LDCONFIG=   yes

MAN1=       augparse.1 augtool.1
MANCOMPRESSED=  no

LENSESDIR=  ${PREFIX}/share/augeas/lenses

post-extract:
    @${RM} ${WRKSRC}/gnulib/lib/gettext.h

post-patch:
    @${REINPLACE_CMD} -e 's:$$(libdir)/pkgconfig:${PREFIX}/libdata/pkgconfig:' ${WRKSRC}/Makefile.am

post-install:
    ${MKDIR} ${LENSESDIR}/tests
    ${INSTALL_DATA} ${FILESDIR}/rcconf.aug ${LENSESDIR}/rcconf.aug
    ${INSTALL_DATA} ${FILESDIR}/test_rcconf.aug ${LENSESDIR}/tests/rcconf.aug

.include <bsd.port.mk>