aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2015-06-19 23:58:05 +0800
committeradamw <adamw@FreeBSD.org>2015-06-19 23:58:05 +0800
commitec19fba9ee1177f02c1c555f9c725c93cab6a326 (patch)
treecf0a201d86f9cf876599720c0ccd332ae4e393ce /sysutils
parenta4e08afd6c67273772831b4040b0ce5c347b9ba3 (diff)
downloadfreebsd-ports-gnome-ec19fba9ee1177f02c1c555f9c725c93cab6a326.tar.gz
freebsd-ports-gnome-ec19fba9ee1177f02c1c555f9c725c93cab6a326.tar.zst
freebsd-ports-gnome-ec19fba9ee1177f02c1c555f9c725c93cab6a326.zip
Update to 2.05.
Upstream has made the baffling decision not to include manpages in the tarball anymore, and to require pandoc and its massive dependencies to generate those manpages. So, install the markdown files into DOCSDIR instead until upstream finds a better way to generate those manpages.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/vimpager/Makefile16
-rw-r--r--sysutils/vimpager/distinfo4
2 files changed, 13 insertions, 7 deletions
diff --git a/sysutils/vimpager/Makefile b/sysutils/vimpager/Makefile
index cefe86ced915..c3d5a84052d0 100644
--- a/sysutils/vimpager/Makefile
+++ b/sysutils/vimpager/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= vimpager
-PORTVERSION= 2.02
+PORTVERSION= 2.05
CATEGORIES= sysutils
MAINTAINER= adamw@FreeBSD.org
@@ -15,15 +15,21 @@ RUN_DEPENDS= vim:${PORTSDIR}/editors/vim
USE_GITHUB= yes
GH_ACCOUNT= rkitover
-OPTIONS_DEFINE= VIMCAT
-OPTIONS_DEFAULT= VIMCAT
+OPTIONS_DEFINE= VIMCAT DOCS
+OPTIONS_DEFAULT= VIMCAT DOCS
+
VIMCAT_DESC= Install vimcat(1) (requires shells/bash)
VIMCAT_RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
-VIMCAT_PLIST_FILES= bin/vimcat man/man1/vimcat.1.gz
+VIMCAT_PLIST_FILES= bin/vimcat
-PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}rc man/man1/${PORTNAME}.1.gz
+PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}rc
+PORTDOCS= vimcat.md vimpager.md
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/Makefile
+post-install:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>
diff --git a/sysutils/vimpager/distinfo b/sysutils/vimpager/distinfo
index 6ceb8a8b1b69..7b225c373aeb 100644
--- a/sysutils/vimpager/distinfo
+++ b/sysutils/vimpager/distinfo
@@ -1,2 +1,2 @@
-SHA256 (rkitover-vimpager-2.02_GH0.tar.gz) = d0e59b33b1c21f996992ddeeaf87a63f6494b60443847acf28e3f3376acd6a05
-SIZE (rkitover-vimpager-2.02_GH0.tar.gz) = 167305
+SHA256 (rkitover-vimpager-2.05_GH0.tar.gz) = 9b7b3bb8966dcecef0b470e0198c5ba037ee1b883544a64a28ca5ac370f47e64
+SIZE (rkitover-vimpager-2.05_GH0.tar.gz) = 158932