svn commit: r481100 - in branches/2018Q4/editors/mg: . files
Tobias Kortkamp
tobik at FreeBSD.org
Tue Oct 2 06:57:36 UTC 2018
Author: tobik
Date: Tue Oct 2 06:57:34 2018
New Revision: 481100
URL: https://svnweb.freebsd.org/changeset/ports/481100
Log:
MFH: r481035
editors/mg: Update to 20180927
This brings mg up to what will be in OpenBSD 6.4.
Simplify port by moving to Brian Callahan's portable mg release.
It has a configure script to detect OS features and it hopefully
won't break building mg on FreeBSD for no reason.
Approved by: ports-secteam (miwi)
Deleted:
branches/2018Q4/editors/mg/files/
Modified:
branches/2018Q4/editors/mg/Makefile
branches/2018Q4/editors/mg/distinfo
branches/2018Q4/editors/mg/pkg-descr
Directory Properties:
branches/2018Q4/ (props changed)
Modified: branches/2018Q4/editors/mg/Makefile
==============================================================================
--- branches/2018Q4/editors/mg/Makefile Tue Oct 2 06:56:32 2018 (r481099)
+++ branches/2018Q4/editors/mg/Makefile Tue Oct 2 06:57:34 2018 (r481100)
@@ -2,8 +2,9 @@
# $FreeBSD$
PORTNAME= mg
-PORTVERSION= 20180408
+PORTVERSION= 20180927
CATEGORIES= editors
+MASTER_SITES= https://github.com/ibara/mg/releases/download/mg-${PORTVERSION}/
MAINTAINER= tobik at FreeBSD.org
COMMENT= Small, fast Emacs-like editor
@@ -11,30 +12,12 @@ COMMENT= Small, fast Emacs-like editor
LICENSE= PD
USES= ncurses
-USE_GITHUB= yes
-GH_ACCOUNT= hboetes
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX}
PLIST_FILES= bin/mg man/man1/mg.1.gz
-PORTDOCS= README tutorial
+PORTDOCS= README-Mg README.md tutorial
OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} != FreeBSD || ${OSVERSION} < 1100072
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-def.h
-
-post-patch:
- ${CP} ${FILESDIR}/reallocarray.c ${WRKSRC}
- @${REINPLACE_CMD} 's| tags.c| tags.c reallocarray.c|' ${WRKSRC}/Makefile
-.endif
-
-pre-configure:
- @${REINPLACE_CMD} 's|-lcurses|-lncurses|' ${WRKSRC}/Makefile
- @${REINPLACE_CMD} 's|__dead|__dead2|' ${WRKSRC}/main.c
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
Modified: branches/2018Q4/editors/mg/distinfo
==============================================================================
--- branches/2018Q4/editors/mg/distinfo Tue Oct 2 06:56:32 2018 (r481099)
+++ branches/2018Q4/editors/mg/distinfo Tue Oct 2 06:57:34 2018 (r481100)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1526285944
-SHA256 (hboetes-mg-20180408_GH0.tar.gz) = 85c1d47500fd042e427b670c630c228668bcc4f532a280f9ecce3d302229bbe4
-SIZE (hboetes-mg-20180408_GH0.tar.gz) = 141988
+TIMESTAMP = 1538400869
+SHA256 (mg-20180927.tar.gz) = 99b2fd2cf9d6474153d6c5769c818dd5514c147b8a8ad660a5e114bc1ebd504d
+SIZE (mg-20180927.tar.gz) = 156632
Modified: branches/2018Q4/editors/mg/pkg-descr
==============================================================================
--- branches/2018Q4/editors/mg/pkg-descr Tue Oct 2 06:56:32 2018 (r481099)
+++ branches/2018Q4/editors/mg/pkg-descr Tue Oct 2 06:57:34 2018 (r481100)
@@ -3,4 +3,4 @@ editor maintained by the OpenBSD Project. It is inten
who can't, or don't want to, run the real GNU Emacs, or are not
familiar with the vi(1) editor.
-WWW: https://github.com/hboetes/mg
+WWW: https://github.com/ibara/mg
More information about the svn-ports-branches
mailing list