summaryrefslogtreecommitdiff
path: root/textproc/highlight/Makefile
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-03-15 13:43:23 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-03-15 13:43:23 +0000
commit455e2fe7bb04aa96c2b75ef5511f3350cdcf9481 (patch)
tree76cbfeae275abfef99c36472f6273d54ce23486f /textproc/highlight/Makefile
parent- Update to 0.0.8alpha2 (diff)
- 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>
Diffstat (limited to 'textproc/highlight/Makefile')
-rw-r--r--textproc/highlight/Makefile14
1 files changed, 8 insertions, 6 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}