diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2003-07-14 17:26:48 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2003-07-14 17:26:48 +0000 |
commit | c5237459d608947f976d0f076c4cf613b2094bbd (patch) | |
tree | 78561caeeddf8400032c0adaab2ce0a8c28b38c8 /textproc/xmlindent | |
parent | 32d06880ff9bca6a2f3141b4ef0b5dc76de2d168 (diff) | |
download | ports-c5237459d608947f976d0f076c4cf613b2094bbd.tar.gz ports-c5237459d608947f976d0f076c4cf613b2094bbd.zip |
Upgrade from 0.2.5 to 0.2.8. Switch to using the bsd.prog.mk, rather
than bother patching the vendor's Makefile.
Notes
Notes:
svn path=/head/; revision=84886
Diffstat (limited to 'textproc/xmlindent')
-rw-r--r-- | textproc/xmlindent/Makefile | 17 | ||||
-rw-r--r-- | textproc/xmlindent/distinfo | 2 |
2 files changed, 14 insertions, 5 deletions
diff --git a/textproc/xmlindent/Makefile b/textproc/xmlindent/Makefile index b445f3ef7d57..78312c1c962e 100644 --- a/textproc/xmlindent/Makefile +++ b/textproc/xmlindent/Makefile @@ -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> diff --git a/textproc/xmlindent/distinfo b/textproc/xmlindent/distinfo index 19f3af49b12c..1f93c9762bf9 100644 --- a/textproc/xmlindent/distinfo +++ b/textproc/xmlindent/distinfo @@ -1 +1 @@ -MD5 (xmlindent-0.2.5.tar.gz) = e6fd3b41ab42e5b45af27bf8a07ac8f1 +MD5 (xmlindent-0.2.8.tar.gz) = b64f4cfe8bd91c2a912938e76f1fffa6 |