aboutsummaryrefslogtreecommitdiffstats
path: root/editors/mg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/mg/Makefile')
-rw-r--r--editors/mg/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/editors/mg/Makefile b/editors/mg/Makefile
index 8d1a4bba9b19..ae68f0073a87 100644
--- a/editors/mg/Makefile
+++ b/editors/mg/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= mg
-PORTVERSION= 20110905
+PORTVERSION= 20140414
CATEGORIES= editors
-MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/ \
- http://homepage.boetes.org/software/mg/
+MASTER_SITES= http://homepage.boetes.org/software/mg/
MAINTAINER= darcsis@gmail.com
COMMENT= A small, fast Emacs-like editor
@@ -13,14 +12,10 @@ COMMENT= A small, fast Emacs-like editor
PLIST_FILES= bin/mg man/man1/mg.1.gz
PORTDOCS= README tutorial
-HAS_CONFIGURE= yes
-
OPTIONS_DEFINE= DOCS
pre-configure:
- @${REINPLACE_CMD} -e 's|-Wno-error=unused-but-set-variable||g' \
- -e '/^CC=/d' -e 's|-g -Wall|-Wall|' -e 's|/usr/local|${PREFIX}|' \
- ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|__dead|__dead2|' ${WRKSRC}/main.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin