diff options
author | miwi <miwi@FreeBSD.org> | 2013-03-25 14:06:56 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2013-03-25 14:06:56 +0800 |
commit | be617e07ac441407e107be3635315929036a1b77 (patch) | |
tree | 9e4af9b998bac918b9614a9548ff2e165b811e49 /editors/mp | |
parent | ae6fc97b36585b362e4a21d5c3393074537fbff3 (diff) | |
download | freebsd-ports-gnome-be617e07ac441407e107be3635315929036a1b77.tar.gz freebsd-ports-gnome-be617e07ac441407e107be3635315929036a1b77.tar.zst freebsd-ports-gnome-be617e07ac441407e107be3635315929036a1b77.zip |
- Update to version 5.2.5
PR: 177249
Submitted by: Ports Fury
Diffstat (limited to 'editors/mp')
-rw-r--r-- | editors/mp/Makefile | 46 | ||||
-rw-r--r-- | editors/mp/distinfo | 4 |
2 files changed, 29 insertions, 21 deletions
diff --git a/editors/mp/Makefile b/editors/mp/Makefile index d15c50037f3f..739f8d65ecc5 100644 --- a/editors/mp/Makefile +++ b/editors/mp/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ 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 @@ LICENSE= GPLv2 # (or later) 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 @@ CONFIGURE_ARGS+= --without-gettext 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 @@ LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre 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 @@ do-install: .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 --git a/editors/mp/distinfo b/editors/mp/distinfo index c8c650a4f22f..8b84c60bed29 100644 --- a/editors/mp/distinfo +++ b/editors/mp/distinfo @@ -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 |