aboutsummaryrefslogtreecommitdiffstats
path: root/editors/mg/Makefile
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2016-05-21 01:16:34 +0800
committerolivierd <olivierd@FreeBSD.org>2016-05-21 01:16:34 +0800
commitf0cf48ec0c806260db81c3d19400e0d3b45ca159 (patch)
treeaedc5c432e5714964b9550be8e2b0e15612dd52c /editors/mg/Makefile
parentb953e1519f2ddf1c43b3b7391a25ea10c4c9fe2c (diff)
downloadfreebsd-ports-gnome-f0cf48ec0c806260db81c3d19400e0d3b45ca159.tar.gz
freebsd-ports-gnome-f0cf48ec0c806260db81c3d19400e0d3b45ca159.tar.zst
freebsd-ports-gnome-f0cf48ec0c806260db81c3d19400e0d3b45ca159.zip
- 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)
Diffstat (limited to 'editors/mg/Makefile')
-rw-r--r--editors/mg/Makefile10
1 files changed, 9 insertions, 1 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}