diff options
author | mi <mi@FreeBSD.org> | 2003-07-15 01:26:48 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2003-07-15 01:26:48 +0800 |
commit | f3a9c245cbaa6bc4d2471076d72e907d139a2ba2 (patch) | |
tree | ffdb2a1c9fa4e1058a0d9cda95e2542cde1b0f21 | |
parent | c37cd4e189db8ac045c4067277dc2d946fafaa59 (diff) | |
download | freebsd-ports-gnome-f3a9c245cbaa6bc4d2471076d72e907d139a2ba2.tar.gz freebsd-ports-gnome-f3a9c245cbaa6bc4d2471076d72e907d139a2ba2.tar.zst freebsd-ports-gnome-f3a9c245cbaa6bc4d2471076d72e907d139a2ba2.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.
-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 |