ports/74339: [Maintainer-Update] textproc/xmlindent to 0.2.17

David Le Brun david at dyn-ns.net
Wed Nov 24 22:30:32 UTC 2004


>Number:         74339
>Category:       ports
>Synopsis:       [Maintainer-Update] textproc/xmlindent to 0.2.17
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 24 22:30:30 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     David Le Brun
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD da-quirk.org 5.2-RELEASE FreeBSD 5.2-RELEASE #4: Sat Jan 17 16:34:59 CET 2004 root at da-quirk.org:/usr/src/sys/i386/compile/PAPRIKA i386


	
>Description:
	- Update to 0.2.17
	- Use Makefile to build it
	- Change Master Site and Homepage to Sourceforge
>How-To-Repeat:
	
>Fix:

	

--- xmlindent.patch begins here ---
diff -ruN xmlindent.old/Makefile xmlindent/Makefile
--- xmlindent.old/Makefile	Thu Apr 29 22:18:10 2004
+++ xmlindent/Makefile	Wed Nov 24 23:11:30 2004
@@ -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 at 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 -ruN xmlindent.old/distinfo xmlindent/distinfo
--- xmlindent.old/distinfo	Thu Apr 29 22:18:10 2004
+++ xmlindent/distinfo	Wed Nov 24 22:32:09 2004
@@ -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 -ruN xmlindent.old/pkg-descr xmlindent/pkg-descr
--- xmlindent.old/pkg-descr	Tue Apr  1 12:25:19 2003
+++ xmlindent/pkg-descr	Wed Nov 24 23:14:41 2004
@@ -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
--- xmlindent.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list