summaryrefslogtreecommitdiff
path: root/editors/mg
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2016-05-20 17:16:34 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2016-05-20 17:16:34 +0000
commit0b57ba0f239b5ad5f43dee4a854d04b86b51a693 (patch)
treeaedc5c432e5714964b9550be8e2b0e15612dd52c /editors/mg
parentUpdate to 2.3.4 (diff)
- Update to 20160421 snapshot
- Cosmetic change for documentation - Mark BROKEN on FreeBSD 9.x, because it requires futimens system call PR: 209290 Submitted by: myself Approved by: <darcsis@gmail.com> (maintainer, timeout > 2 weeks)
Notes
Notes: svn path=/head/; revision=415561
Diffstat (limited to 'editors/mg')
-rw-r--r--editors/mg/Makefile10
-rw-r--r--editors/mg/distinfo4
2 files changed, 11 insertions, 3 deletions
diff --git a/editors/mg/Makefile b/editors/mg/Makefile
index 12ad488fc653..2fcc815c4008 100644
--- a/editors/mg/Makefile
+++ b/editors/mg/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mg
-PORTVERSION= 20160118
+PORTVERSION= 20160421
CATEGORIES= editors
MASTER_SITES= http://homepage.boetes.org/software/mg/
@@ -14,12 +14,20 @@ PORTDOCS= README tutorial
OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} < 1002506
+BROKEN= does not build on FreeBSD 9.x, requires futimens system call
+.endif
+
pre-configure:
@${REINPLACE_CMD} -e '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}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
diff --git a/editors/mg/distinfo b/editors/mg/distinfo
index a5fd7499e1b3..ce88d648dff5 100644
--- a/editors/mg/distinfo
+++ b/editors/mg/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mg-20160118.tar.gz) = 26450b2564bec0b0afc465fd24a1917dc31508c5500c3a36823b9c763a2b8636
-SIZE (mg-20160118.tar.gz) = 144823
+SHA256 (mg-20160421.tar.gz) = b5dd8fbecb8a0ff0f32588c448f22f25fafcbfb297857e76d2883598a3e63a9a
+SIZE (mg-20160421.tar.gz) = 145187