ports/94285: [PATCH] textproc/highlight: UNBREAK (fix fetch by updating to the latest version)
Ion-Mihai IOnut Tetcu
itetcu at people.tecnik93.com
Thu Mar 9 20:50:07 UTC 2006
>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: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 09 20:50:05 GMT 2006
>Closed-Date:
>Last-Modified:
>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 at 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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list