1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

[Maintainer-Update] textproc/xmlindent to 0.2.17

- Update to 0.2.17
	- Use Makefile to build it
	- Change Master Site and Homepage to Sourceforge

PR:		ports/74339
Submitted by:	David Le Brun <david@dyn-ns.net>
This commit is contained in:
Edwin Groothuis 2004-11-27 05:56:44 +00:00
parent 052f6d24e4
commit c059a17981
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122567
3 changed files with 12 additions and 18 deletions

View File

@ -7,27 +7,21 @@
#
PORTNAME= xmlindent
PORTVERSION= 0.2.16
PORTVERSION= 0.2.17
CATEGORIES= textproc
MASTER_SITES= http://www.cs.helsinki.fi/u/penberg/xmlindent/src/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= david@dyn-ns.net
COMMENT= XML stream reformatter
MAN1= xmlindent.1
MANCOMPRESSED= maybe
USE_REINPLACE= yes
MAN1= xmlindent.1
MANCOMPRESSED= no
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
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|/share/man/|/man/|' ${WRKSRC}/Makefile
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
MD5 (xmlindent-0.2.16.tar.gz) = 27a6f555596f879c7c6c81ad11711f44
SIZE (xmlindent-0.2.16.tar.gz) = 17657
MD5 (xmlindent-0.2.17.tar.gz) = c08be3867ee906ca69b949d55a4f3780
SIZE (xmlindent-0.2.17.tar.gz) = 18333

View File

@ -1,3 +1,3 @@
XML Indent is a XML stream reformatter written in ANSI C.
WWW: http://www.cs.helsinki.fi/u/penberg/xmlindent/
WWW: http://xmlindent.sourceforge.net