1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Upgrade from 0.2.5 to 0.2.8. Switch to using the bsd.prog.mk, rather

than bother patching the vendor's Makefile.
This commit is contained in:
Mikhail Teterin 2003-07-14 17:26:48 +00:00
parent 32d06880ff
commit c5237459d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84886
2 changed files with 14 additions and 5 deletions

View File

@ -7,7 +7,7 @@
#
PORTNAME= xmlindent
PORTVERSION= 0.2.5
PORTVERSION= 0.2.8
CATEGORIES= textproc
MASTER_SITES= http://www.cs.helsinki.fi/u/penberg/xmlindent/src/
@ -15,9 +15,18 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A XML stream reformatter
MAN1= xmlindent.1
MANCOMPRESSED= maybe
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xmlindent ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xmlindent.1 ${MANPREFIX}/man/man1
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>

View File

@ -1 +1 @@
MD5 (xmlindent-0.2.5.tar.gz) = e6fd3b41ab42e5b45af27bf8a07ac8f1
MD5 (xmlindent-0.2.8.tar.gz) = b64f4cfe8bd91c2a912938e76f1fffa6