diff --git a/devel/geany/Makefile b/devel/geany/Makefile index 9954a0618118..b5039c0eeaaf 100644 --- a/devel/geany/Makefile +++ b/devel/geany/Makefile @@ -1,68 +1,72 @@ # New ports collection Makefile for: geany # Date Created: 15 Jan 06 # Whom: Remington Lang # # $FreeBSD$ # PORTNAME= geany -PORTVERSION= 0.13 +PORTVERSION= 0.14 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= ar@null.lv COMMENT= A fast and lightweight GTK+ IDE GNU_CONFIGURE= yes INSTALLS_ICONS= yes USE_BZIP2= yes USE_GMAKE= yes USE_GNOME= gtk20 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -lgnuregex" OPTIONS= VTE "Enable Virtual Terminal Emulation support" on \ NLS "Enable Native Language support" on MAN1= geany.1 .include .if ${OSVERSION} > 502010 GNU_REGEX_H= gnu/regex.h .else GNU_REGEX_H= gnuregex.h .endif .if !defined(WITHOUT_NLS) USE_GETTEXT= yes PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif .if !defined(WITHOUT_VTE) USE_GNOME+= vte CONFIGURE_ARGS+=--enable-vte .else CONFIGURE_ARGS+=--disable-vte .endif post-patch: @${REINPLACE_CMD} -e 's|gcc|${CC} ${CFLAGS}|' ${WRKSRC}/scintilla/Makefile.in .for file in tagmanager/lregex.c src/encodings.c @${REINPLACE_CMD} -e 's||<${GNU_REGEX_H}>|g' ${WRKSRC}/${file} .endfor .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e '/^SUBDIRS/ s|doc||' ${WRKSRC}/Makefile.in .endif .if defined(WITHOUT_NLS) @${REINPLACE_CMD} -e '/^SUBDIRS/ s|po||' ${WRKSRC}/Makefile.in .endif +post-configure: + @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \ + ${WRKSRC}/Makefile + post-install: ${INSTALL_DATA} ${WRKSRC}/geany.desktop ${PREFIX}/share/applications/ ${INSTALL_MAN} ${WRKSRC}/doc/geany.1 ${MAN1PREFIX}/man/man1 .include diff --git a/devel/geany/distinfo b/devel/geany/distinfo index 86cdd266e8b9..bfa281e244fd 100644 --- a/devel/geany/distinfo +++ b/devel/geany/distinfo @@ -1,3 +1,3 @@ -MD5 (geany-0.13.tar.bz2) = 0dc4f30b5ee9132f136fd3e7e4f02e0c -SHA256 (geany-0.13.tar.bz2) = cf75505392ea81f256a380a4c249d15325c290fabac95b4584b0f66af432a9a1 -SIZE (geany-0.13.tar.bz2) = 2052311 +MD5 (geany-0.14.tar.bz2) = c6c22c7f9feff81a15f5c8ece03b87c1 +SHA256 (geany-0.14.tar.bz2) = 619d59b339e1be7687058460c105b8f2d4f00e6409e4450dee385e3086fdf6d7 +SIZE (geany-0.14.tar.bz2) = 2120062 diff --git a/devel/geany/files/patch-tagmaster-html.c b/devel/geany/files/patch-tagmaster-html.c new file mode 100644 index 000000000000..b86bebe39746 --- /dev/null +++ b/devel/geany/files/patch-tagmaster-html.c @@ -0,0 +1,11 @@ +--- tagmanager/html.c.orig 2008-04-26 03:13:29.000000000 +0300 ++++ tagmanager/html.c 2008-04-26 03:13:42.000000000 +0300 +@@ -31,7 +31,7 @@ + + /* this matches simple heading without nested tags */ + /** TODO combine both pattern to be able to match both heading styles */ +-#define INNER_HEADING "[ \t]*(.*+)[ \t]*" ++#define INNER_HEADING "[ \t]*(.+)[ \t]*" + + addTagRegex (language, + "