mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
- Add LICENSE_FILE
- Add NO_ARCH - Switch to options helpers
This commit is contained in:
parent
9f1ba79e65
commit
f97cf9f368
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=445396
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user