freebsd-ports/editors/mg/Makefile
Tobias Kortkamp fc965e2fda 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.

MFH:		2018Q4
2018-10-01 14:23:56 +00:00

26 lines
592 B
Makefile

# Created by: Dima Dorfman <dima@unixfreak.org>
# $FreeBSD$
PORTNAME= mg
PORTVERSION= 20180927
CATEGORIES= editors
MASTER_SITES= https://github.com/ibara/mg/releases/download/mg-${PORTVERSION}/
MAINTAINER= tobik@FreeBSD.org
COMMENT= Small, fast Emacs-like editor
LICENSE= PD
USES= ncurses
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
PLIST_FILES= bin/mg man/man1/mg.1.gz
PORTDOCS= README-Mg README.md tutorial
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>