From itetcu@people.tecnik93.com  Thu Mar  9 20:46:06 2006
Return-Path: <itetcu@people.tecnik93.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D860716A420
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  9 Mar 2006 20:46:06 +0000 (GMT)
	(envelope-from itetcu@people.tecnik93.com)
Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9D07C43D69
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  9 Mar 2006 20:46:03 +0000 (GMT)
	(envelope-from itetcu@people.tecnik93.com)
Received: from it.buh.tecnik93.com (localhost [127.0.0.1])
	by it.buh.tecnik93.com (Postfix) with ESMTP id 257E31758E
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  9 Mar 2006 22:46:02 +0200 (EET)
Message-Id: <1141937162.82898@it.buh.tecnik93.com>
Date: Thu, 9 Mar 2006 22:46:02 +0200
From: "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: [PATCH] textproc/highlight: UNBREAK (fix fetch by updating to the latest version)
X-Send-Pr-Version: gtk-send-pr 0.4.7 
X-GNATS-Notify:

>Number:         94285
>Category:       ports
>Synopsis:       [PATCH] textproc/highlight: UNBREAK (fix fetch by updating to the latest version)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mnag
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 09 20:50:05 GMT 2006
>Closed-Date:    Wed Mar 15 13:43:32 GMT 2006
>Last-Modified:  Wed Mar 15 13:43:32 GMT 2006
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
Tecnik'93 
>Environment:


System: FreeBSD 6.1-PRERELEASE #0: Fri Feb 24 07:01:54 EET 2006
    root@it.buh.tecnik93.com:/usr/obj/usr/src/sys/IT6_B_P



>Description:


Update to 2.4.4
Does no compile on 4.x so marke it broken thre
Some portinlin(1)'ing

Reported by:		fenner's distfiles survey


>How-To-Repeat:





>Fix:


--- highlight.diff begins here --
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/highlight/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- Makefile	22 Jun 2005 00:18:46 -0000	1.30
+++ Makefile	9 Mar 2006 20:38:27 -0000
@@ -6,11 +6,10 @@
 #
 
 PORTNAME=	highlight
-PORTVERSION=	2.2.10
+PORTVERSION=	2.4.4
 PORTEPOCH=	1
 CATEGORIES=	textproc
 MASTER_SITES=	http://www.andre-simon.de/zip/
-DISTNAME=	${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Customizable syntax highlighter
@@ -19,7 +18,6 @@
 
 USE_GCC=	3.4
 USE_GETOPT_LONG=	yes
-USE_REINPLACE=	yes
 USE_GMAKE=	yes
 MAKEFILE=	makefile
 MAKE_ARGS=	CXX="${CXX}" \
@@ -38,6 +36,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${OSVERSION} < 500000
+BROKEN=		Does not compile
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|/usr/share/highlight|${DATADIR}|' ${WRKSRC}/datadir.cpp
@@ -46,8 +48,7 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/../man/${MAN1}.gz ${MANPREFIX}/man/man1
 	@${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/../extensions.conf ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/../scriptre.conf ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/../filetypes.conf ${DATADIR}
 	@${MKDIR} ${DATADIR}/helpmsg
 	${INSTALL_DATA} ${WRKSRC}/../helpmsg/* ${DATADIR}/helpmsg
 	@${MKDIR} ${DATADIR}/langDefs
@@ -56,7 +57,8 @@
 	${INSTALL_DATA} ${WRKSRC}/../themes/* ${DATADIR}/themes
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-.for i in AUTHORS ChangeLog INSTALL README
+.for i in AUTHORS ChangeLog INSTALL README README_DE README_ES README_INDENT \
+	README_REGEX TODO
 	${INSTALL_DATA} ${WRKSRC}/../${i} ${DOCSDIR}
 .endfor
 	@${MKDIR} ${EXAMPLESDIR}
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/textproc/highlight/distinfo,v
retrieving revision 1.24
diff -u -r1.24 distinfo
--- distinfo	25 Nov 2005 18:40:32 -0000	1.24
+++ distinfo	9 Mar 2006 20:38:27 -0000
@@ -1,3 +1,3 @@
-MD5 (highlight-2.2-10.tar.gz) = 9a9673badfcc6f3ff25c73ef1313f6a5
-SHA256 (highlight-2.2-10.tar.gz) = 94ce1e93d98e9cd2fe214fff3bfed2de966ee4fca769a21faafa3da3b86c6aaa
-SIZE (highlight-2.2-10.tar.gz) = 310188
+MD5 (highlight-2.4.4.tar.gz) = c2ea3c4a11a76379d73bd4bccd6c3228
+SHA256 (highlight-2.4.4.tar.gz) = edfd78ed2b7e749f07a0d3a8900825850f1726f5ac26d1c1c09dcecaab8450c5
+SIZE (highlight-2.4.4.tar.gz) = 340463
--- highlight.diff ends here ---



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mnag 
Responsible-Changed-By: mnag 
Responsible-Changed-When: Mon Mar 13 00:25:59 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94285 
State-Changed-From-To: open->closed 
State-Changed-By: mnag 
State-Changed-When: Wed Mar 15 13:43:31 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94285 
>Unformatted:
