aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2006-03-15 21:43:23 +0800
committermnag <mnag@FreeBSD.org>2006-03-15 21:43:23 +0800
commitd6ec7e21e1e7164575949f0066aedf6ccfb0e215 (patch)
tree656a9a2262d8ce52e90bc26ecddd6a5c39bc0475
parent9d71f5dda6ecfe54afebd2c3d5c0a0938ee2c28c (diff)
downloadfreebsd-ports-gnome-d6ec7e21e1e7164575949f0066aedf6ccfb0e215.tar.gz
freebsd-ports-gnome-d6ec7e21e1e7164575949f0066aedf6ccfb0e215.tar.zst
freebsd-ports-gnome-d6ec7e21e1e7164575949f0066aedf6ccfb0e215.zip
- Update to 2.4.4
- Does no compile on 4.x so mark it broken - portlint(1) PR: 94285 Submitted by: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
-rw-r--r--textproc/highlight/Makefile14
-rw-r--r--textproc/highlight/distinfo6
2 files changed, 11 insertions, 9 deletions
diff --git a/textproc/highlight/Makefile b/textproc/highlight/Makefile
index e1489f711d10..5a866d4633da 100644
--- a/textproc/highlight/Makefile
+++ b/textproc/highlight/Makefile
@@ -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 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}
USE_GCC= 3.4
USE_GETOPT_LONG= yes
-USE_REINPLACE= yes
USE_GMAKE= yes
MAKEFILE= makefile
MAKE_ARGS= CXX="${CXX}" \
@@ -38,6 +36,10 @@ PORTDOCS= *
.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 @@ do-install:
${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 @@ do-install:
${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}
diff --git a/textproc/highlight/distinfo b/textproc/highlight/distinfo
index 6ef0fc633f66..836ed54c9d25 100644
--- a/textproc/highlight/distinfo
+++ b/textproc/highlight/distinfo
@@ -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