Date: Sat, 23 Mar 2013 03:27:18 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/177249: editors/mp: Update to version 5.2.5 Message-ID: <20130323032718.c8c4163f53ed9cd5f4f4b9ae@yahoo.com> Resent-Message-ID: <201303221840.r2MIe2Pd020108@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 177249 >Category: ports >Synopsis: editors/mp: Update to version 5.2.5 >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: Fri Mar 22 18:40:02 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p10 i386 >Organization: >Environment: >Description: - Update to version 5.2.5 >How-To-Repeat: >Fix: diff -urN /usr/ports/editors/mp/Makefile editors/mp/Makefile --- /usr/ports/editors/mp/Makefile 2012-12-12 05:16:57.000000000 +0900 +++ editors/mp/Makefile 2013-03-18 06:44:55.000000000 +0900 @@ -2,8 +2,7 @@ # $FreeBSD: head/editors/mp/Makefile 308704 2012-12-11 17:53:24Z bdrewery $ PORTNAME= mp -PORTVERSION= 5.2.4 -PORTREVISION= 1 +PORTVERSION= 5.2.5 CATEGORIES= editors MASTER_SITES= http://triptico.com/download/mp/ @@ -14,7 +13,7 @@ OPTIONS_DEFINE= NLS PCRE DOCS OPTIONS_RADIO= GUI -OPTIONS_RADIO_GUI= GTK2 QT4 +OPTIONS_RADIO_GUI= GTK3 GTK2 QT4 OPTIONS_DEFAULT= PCRE USE_NCURSES= yes @@ -37,10 +36,19 @@ PLIST_SUB+= NLS="@comment " .endif +.if ${PORT_OPTIONS:MGTK3} +USE_GNOME+= gtk30 +CONFOPT_GTK= 3 +.endif + .if ${PORT_OPTIONS:MGTK2} USE_GNOME+= gtk20 -.else +CONFOPT_GTK= 2 +.endif + +.if empty(PORT_OPTIONS:MGTK3) && empty(PORT_OPTIONS:MGTK2) CONFIGURE_ARGS+= --without-gtk +CONFOPT_GTK= 0 .endif .if ${PORT_OPTIONS:MQT4} @@ -56,14 +64,20 @@ CONFIGURE_ARGS+= --with-pcre .endif +.include <bsd.port.pre.mk> + +.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" +BROKEN= Does not compile on ia64, powerpc, or sparc64 +.endif + post-patch: - @${REINPLACE_CMD} -e 's|<ncursesw/|<|g ; \ - s|-I/usr/local/include||g ; \ - s|-L/usr/local/lib||g ; \ - /gtk+/s|3.0|2.0|g ; \ - /OK/s|3.0|2.0|g ; \ - /CONFOPT_GTK/s|3|2|g ; \ - s|-lX11||g' ${WRKSRC}/config.sh + @${REINPLACE_CMD} -e 's|<ncursesw/|<| ; \ + s|-I/usr/local/include|| ; \ + s|-L/usr/local/lib|| ; \ + s|-lX11|| ; \ + /gtk+/s|3.0|${CONFOPT_GTK}.0| ; \ + /OK/s|3.0|${CONFOPT_GTK}.0| ; \ + /CONFOPT_GTK/s|3|${CONFOPT_GTK}|' ${WRKSRC}/config.sh @${REINPLACE_CMD} -e 's|<ncursesw/|<|g' ${WRKSRC}/mpv_curses.c @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/mpdm/config.sh .for i in mpdm/mpdm.h mpdm/mpdm_s.c mpsl/mpsl_d.c @@ -87,15 +101,9 @@ .endif .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} -.for file in AUTHORS README RELEASE_NOTES mp_templates.sample doc/*.* - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.for doc in AUTHORS README RELEASE_NOTES mp_templates.sample doc/*.* + ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} .endfor .endif -.include <bsd.port.pre.mk> - -.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" -BROKEN= Does not compile on ia64, powerpc, or sparc64 -.endif - .include <bsd.port.post.mk> diff -urN /usr/ports/editors/mp/distinfo editors/mp/distinfo --- /usr/ports/editors/mp/distinfo 2012-12-11 05:04:25.000000000 +0900 +++ editors/mp/distinfo 2013-03-15 06:06:33.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (mp-5.2.4.tar.gz) = 958c0e01afedc8a21767174a23515710d1a9bb9195ec742a9e087a6b967f9af2 -SIZE (mp-5.2.4.tar.gz) = 544849 +SHA256 (mp-5.2.5.tar.gz) = 180a7639d94c903f5572e6a214ad264a8cb05634519a02d4cf4bfbc5385ad6c1 +SIZE (mp-5.2.5.tar.gz) = 546439 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130323032718.c8c4163f53ed9cd5f4f4b9ae>