diff --git a/editors/Makefile b/editors/Makefile index e8c944fcf798..86ee3bb76c46 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -192,6 +192,7 @@ SUBDIR += linux-sublime3 SUBDIR += madedit SUBDIR += mg + SUBDIR += mg-static SUBDIR += micro SUBDIR += mined SUBDIR += mle diff --git a/editors/mg-static/Makefile b/editors/mg-static/Makefile new file mode 100644 index 000000000000..64cf312a9d85 --- /dev/null +++ b/editors/mg-static/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTEPOCH= 0 # don't bump accidentally +PKGNAMESUFFIX= -static + +COMMENT= Small, fast Emacs-like editor (rescue(8) version) + +MASTERDIR= ${.CURDIR}/../mg + +CONFIGURE_ARGS= --enable-static +PLIST_FILES= /rescue/${PORTNAME} + +OPTIONS_EXCLUDE=DOCS + +do-install: + ${MKDIR} ${STAGEDIR}${PLIST_FILES:[1]:H} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PLIST_FILES:[1]} + +.include "${MASTERDIR}/Makefile" diff --git a/editors/mg/Makefile b/editors/mg/Makefile index 96ce32690a15..8a55085df93a 100644 --- a/editors/mg/Makefile +++ b/editors/mg/Makefile @@ -3,18 +3,18 @@ PORTNAME= mg PORTVERSION= 6.7 -PORTEPOCH= 1 +PORTEPOCH?= 1 CATEGORIES= editors MASTER_SITES= https://github.com/ibara/mg/releases/download/mg-${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org -COMMENT= Small, fast Emacs-like editor +COMMENT?= Small, fast Emacs-like editor LICENSE= PD USES= ncurses HAS_CONFIGURE= yes -PLIST_FILES= bin/mg \ +PLIST_FILES?= bin/mg \ man/man1/mg.1.gz PORTDOCS= README-Mg README.md tutorial