aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-07-09 17:00:21 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-07-09 17:00:21 +0800
commit6e9157694f86385e4b679000c6f9c26e3fdef7ae (patch)
tree8903e4b453e9456d8c6ad4897fa94ba044c15fec /sysutils
parent40f4b7de8d7161b6d643031d8a99549512655a5a (diff)
downloadfreebsd-ports-gnome-6e9157694f86385e4b679000c6f9c26e3fdef7ae.tar.gz
freebsd-ports-gnome-6e9157694f86385e4b679000c6f9c26e3fdef7ae.tar.zst
freebsd-ports-gnome-6e9157694f86385e4b679000c6f9c26e3fdef7ae.zip
- Add LICENSE_FILE
- Add NO_ARCH - Switch to options helpers
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/vimpager/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/vimpager/Makefile b/sysutils/vimpager/Makefile
index 873a61749f37..e01e10b7ef25 100644
--- a/sysutils/vimpager/Makefile
+++ b/sysutils/vimpager/Makefile
@@ -9,6 +9,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Use ViM as a pager
LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= vim:editors/vim
@@ -16,15 +17,16 @@ USE_GITHUB= yes
GH_ACCOUNT= rkitover
GH_TAGNAME= d0bf869
-OPTIONS_DEFINE= DOCS
-
PLIST_FILES= bin/vimcat bin/${PORTNAME} etc/${PORTNAME}rc
PORTDOCS= vimcat.md vimpager.md
+NO_ARCH= yes
+
+OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/Makefile
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}