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:
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
|
@ -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>
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (xmlindent-0.2.5.tar.gz) = e6fd3b41ab42e5b45af27bf8a07ac8f1
|
||||
MD5 (xmlindent-0.2.8.tar.gz) = b64f4cfe8bd91c2a912938e76f1fffa6
|
||||
|
|
Loading…
Reference in a new issue