diff options
author | pav <pav@FreeBSD.org> | 2008-04-01 05:40:34 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2008-04-01 05:40:34 +0800 |
commit | d520a07e296cc4623c5c28e2d06c40755a8daab1 (patch) | |
tree | 2b97cdc0262d541c56ec70d13020fa2b0a80248e /textproc | |
parent | 4359aa92998d665a7654018a8c4107bf0903f963 (diff) | |
download | freebsd-ports-gnome-d520a07e296cc4623c5c28e2d06c40755a8daab1.tar.gz freebsd-ports-gnome-d520a07e296cc4623c5c28e2d06c40755a8daab1.tar.zst freebsd-ports-gnome-d520a07e296cc4623c5c28e2d06c40755a8daab1.zip |
- Update to 2.6.7
PR: ports/119830
Submitted by: Kuang-che Wu <kcwu@csie.org>
Approved by: maintainer timeout (alexbl; 2 months)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/highlight/Makefile | 31 | ||||
-rw-r--r-- | textproc/highlight/distinfo | 6 |
2 files changed, 15 insertions, 22 deletions
diff --git a/textproc/highlight/Makefile b/textproc/highlight/Makefile index 21ae166b002f..dd882163c766 100644 --- a/textproc/highlight/Makefile +++ b/textproc/highlight/Makefile @@ -6,8 +6,7 @@ # PORTNAME= highlight -PORTVERSION= 2.4.8 -PORTREVISION= 1 +PORTVERSION= 2.6.7 PORTEPOCH= 1 CATEGORIES= textproc MASTER_SITES= http://www.andre-simon.de/zip/ @@ -15,15 +14,11 @@ MASTER_SITES= http://www.andre-simon.de/zip/ MAINTAINER= alexbl@FreeBSD.org COMMENT= Customizable syntax highlighter -WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME} - -USE_GCC= 3.4 USE_GMAKE= yes MAKEFILE= makefile MAKE_ARGS= CXX="${CXX}" \ CFLAGS="${CXXFLAGS} ${CPPFLAGS} -DHAVE_DECL_GETOPT" \ LDFLAGS="${LDFLAGS}" -ALL_TARGET= ${PORTNAME} PLIST_FILES= bin/highlight @@ -38,35 +33,33 @@ PORTDOCS= * post-patch: @${REINPLACE_CMD} -e \ - 's|/etc/highlight|${DATADIR}|g' ${WRKSRC}/datadir.cpp - @${REINPLACE_CMD} -e \ - 's|/usr/share/highlight|${DATADIR}|' ${WRKSRC}/datadir.cpp + 's|^PREFIX =|PREFIX ?=|' ${WRKSRC}/${MAKEFILE} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/../man/${MAN1}.gz ${MANPREFIX}/man/man1 - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/../filetypes.conf ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/${MAN1}.gz ${MANPREFIX}/man/man1 + @${MKDIR} ${ETCDIR} + ${INSTALL_DATA} ${WRKSRC}/filetypes.conf ${ETCDIR} @${MKDIR} ${DATADIR}/helpmsg - ${INSTALL_DATA} ${WRKSRC}/../helpmsg/* ${DATADIR}/helpmsg + ${INSTALL_DATA} ${WRKSRC}/helpmsg/* ${DATADIR}/helpmsg @${MKDIR} ${DATADIR}/langDefs - ${INSTALL_DATA} ${WRKSRC}/../langDefs/*.lang ${DATADIR}/langDefs + ${INSTALL_DATA} ${WRKSRC}/langDefs/*.lang ${DATADIR}/langDefs @${MKDIR} ${DATADIR}/themes - ${INSTALL_DATA} ${WRKSRC}/../themes/* ${DATADIR}/themes + ${INSTALL_DATA} ${WRKSRC}/themes/* ${DATADIR}/themes .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for i in AUTHORS ChangeLog INSTALL README README_DE README_ES README_INDENT \ README_REGEX TODO - ${INSTALL_DATA} ${WRKSRC}/../${i} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor @${MKDIR} ${EXAMPLESDIR} - ${TAR} -C ${WRKSRC}/../examples -cf - . | \ + ${TAR} -C ${WRKSRC}/examples -cf - . | \ ${TAR} -C ${EXAMPLESDIR} --unlink -xf - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} .endif post-install: -.for dir in ${PREFIX}/share/${PORTNAME} ${PREFIX}/share/examples/${PORTNAME} +.for dir in ${ETCDIR} ${DATADIR} ${EXAMPLESDIR} @${FIND} ${dir} ! -type d | \ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} @${FIND} ${dir} -type d | ${SORT} -r | \ diff --git a/textproc/highlight/distinfo b/textproc/highlight/distinfo index 3a1319b66925..95cd8cb479b2 100644 --- a/textproc/highlight/distinfo +++ b/textproc/highlight/distinfo @@ -1,3 +1,3 @@ -MD5 (highlight-2.4.8.tar.gz) = 8ffb1d62ef449ecf5ffef1f6931a3d16 -SHA256 (highlight-2.4.8.tar.gz) = e7a627fa8e78c326ad44c81816dbceeb51ff7f4b37c7bbc5d47ba214e828d25f -SIZE (highlight-2.4.8.tar.gz) = 357067 +MD5 (highlight-2.6.7.tar.gz) = 2200bdc03b47ce94a097fefd9bd5ee33 +SHA256 (highlight-2.6.7.tar.gz) = ba281cb16c63f81861b42c19ecd09ad1162997725e0e7bd18bbe968eed726a84 +SIZE (highlight-2.6.7.tar.gz) = 440627 |