Index: head/editors/mp/Makefile =================================================================== --- head/editors/mp/Makefile (revision 396248) +++ head/editors/mp/Makefile (revision 396249) @@ -1,104 +1,98 @@ # Created by: Mark Pulford # $FreeBSD$ PORTNAME= mp PORTVERSION= 5.2.9 CATEGORIES= editors MASTER_SITES= http://triptico.com/download/mp/ MAINTAINER= ports@FreeBSD.org COMMENT= Programming text editor LICENSE= GPLv2 # (or later) -OPTIONS_DEFINE= NLS PCRE DOCS -OPTIONS_RADIO= GUI -OPTIONS_RADIO_GUI= GTK3 GTK2 QT4 -OPTIONS_DEFAULT= PCRE -OPTIONS_SUB= yes - USES= iconv ncurses HAS_CONFIGURE= yes CONFIGURE_SCRIPT= config.sh CONFIGURE_ARGS= --prefix=${PREFIX} --without-win32 --without-kde4 DATADIR= ${PREFIX}/share/mp-5 +OPTIONS_DEFINE= NLS PCRE DOCS +OPTIONS_RADIO= GUI +OPTIONS_RADIO_GUI= GTK3 GTK2 QT4 +OPTIONS_DEFAULT= PCRE +OPTIONS_SUB= yes + NLS_USES= gettext NLS_CONFIGURE_WITH= gettext PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre PCRE_CONFIGURE_WITH= pcre QT4_USE= QT4=corelib,gui,moc_build QT4_CONFIGURE_ENV= CPP="${CXX}" CCLINK="${CXX}" QT4_CONFIGURE_WITH= qt4 .include .if ${PORT_OPTIONS:MGTK3} USE_GNOME+= gtk30 CONFOPT_GTK= 3 .endif .if ${PORT_OPTIONS:MGTK2} USE_GNOME+= gtk20 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} QT_NONSTANDARD= yes .endif -.include - -.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" -BROKEN= Does not compile on ia64, powerpc, or sparc64 -.endif - post-patch: @${REINPLACE_CMD} -e \ 's|||g' ${WRKSRC}/${i} .endfor do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} mp-5 ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC}/mpsl && ${INSTALL_PROGRAM} mpsl ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC} && ${INSTALL_MAN} mp-5.1 ${STAGEDIR}${MANPREFIX}/man/man1) @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${INSTALL_DATA} mp_*.mpsl ${STAGEDIR}${DATADIR}) @${MKDIR} ${STAGEDIR}${DATADIR}/lang (cd ${WRKSRC}/lang && ${INSTALL_DATA} *.mpsl ${STAGEDIR}${DATADIR}/lang) .if ${PORT_OPTIONS:MNLS} .for lang in de es it nl ru sv @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES (cd ${WRKSRC}/po && ${INSTALL_DATA} ${lang}.mo \ ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/minimum-profit.mo) .endfor .endif @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in AUTHORS README RELEASE_NOTES mp_templates.sample doc/*.* (cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${STAGEDIR}${DOCSDIR}) .endfor -.include +.include Index: head/editors/mp/pkg-descr =================================================================== --- head/editors/mp/pkg-descr (revision 396248) +++ head/editors/mp/pkg-descr (revision 396249) @@ -1,4 +1,13 @@ -MP is an easy to use programmer's text editor. It supports automatic -syntax highlighting, macros and ctags and also has online help. +Minimum Profit is an easy to use programmer's text editor. Its features: + + - Syntax highlighting for many popular languages and file formats + - Fully scriptable using a C-like scripting language + - Unlimited undo levels; configurable keys, menus, and colors + - Can edit multiple files at the same time (shared copy/paste buffer) + - Creative use of tags, symbol name auto-completion + - Intelligent, context-dependent help system + - Automatic indentation, word wrapping, internal grep, etc. + - Spellchecking support (via the ispell package) + - Multilingual; has complete Unicode support WWW: http://www.triptico.com/software/mp.html