mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
9d97ed27dc
PR: ports/65937 Submitted by: maintainer
34 lines
681 B
Makefile
34 lines
681 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: xmlindent
|
|
# Date created: Apr 1, 2003
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xmlindent
|
|
PORTVERSION= 0.2.16
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.cs.helsinki.fi/u/penberg/xmlindent/src/
|
|
|
|
MAINTAINER= david@dyn-ns.net
|
|
COMMENT= XML stream reformatter
|
|
|
|
MAN1= xmlindent.1
|
|
MANCOMPRESSED= maybe
|
|
PLIST_FILES= bin/xmlindent
|
|
|
|
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>
|