aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xmlindent/Makefile
blob: 78312c1c962eda1a17327653434c5ca2a726b9b5 (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
# ex:ts=8
# Ports collection makefile for:    xmlindent
# Date created:         Apr 1, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   xmlindent
PORTVERSION=    0.2.8
CATEGORIES= textproc
MASTER_SITES=   http://www.cs.helsinki.fi/u/penberg/xmlindent/src/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A XML stream reformatter

MAN1=   xmlindent.1
MANCOMPRESSED=  maybe

pre-build:
    cd ${WRKSRC} && ${MAKE} lexer

.for t in build install
do-$t:
    cd ${WRKSRC} && ${MAKE} -f /usr/share/mk/bsd.prog.mk PROG=xmlindent \
        SRCS="error.c indent.c buffer.c main.c" \
        BINDIR="${PREFIX}/bin" \
        MANDIR="${PREFIX}/man/man" \
        ${t:build=all} LDADD=-lfl
.endfor

.include <bsd.port.mk>