summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-11-27 05:56:44 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-11-27 05:56:44 +0000
commitc059a179810dbe39cbc3aeac9ac9e3d4387b1dab (patch)
tree44110b9321cf598a04cc726b8a917e0bcef2307f /textproc
parent[MAINTAINER] dns/ddclient: update to 3.6.5 (diff)
[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>
Notes
Notes: svn path=/head/; revision=122567
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xmlindent/Makefile24
-rw-r--r--textproc/xmlindent/distinfo4
-rw-r--r--textproc/xmlindent/pkg-descr2
3 files changed, 12 insertions, 18 deletions
diff --git a/textproc/xmlindent/Makefile b/textproc/xmlindent/Makefile
index a40c25e0f1b6..a82545c1baea 100644
--- a/textproc/xmlindent/Makefile
+++ b/textproc/xmlindent/Makefile
@@ -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>
diff --git a/textproc/xmlindent/distinfo b/textproc/xmlindent/distinfo
index 396f0e7e026c..213309b8791b 100644
--- a/textproc/xmlindent/distinfo
+++ b/textproc/xmlindent/distinfo
@@ -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
diff --git a/textproc/xmlindent/pkg-descr b/textproc/xmlindent/pkg-descr
index 6f6b4446e50f..0565769d4223 100644
--- a/textproc/xmlindent/pkg-descr
+++ b/textproc/xmlindent/pkg-descr
@@ -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