blob: a7d381f0afaf1ea368769f3c229b35501dcdd637 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
PORTNAME= so
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.6
PORTREVISION= 11
CATEGORIES= www
MAINTAINER= sec.research.2005@gmail.com
COMMENT= Terminal interface for Stack Overflow
WWW= https://github.com/samtay/so
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cargo ssl
USE_GITHUB= yes
GH_ACCOUNT= samtay
PLIST_FILES= bin/so
PORTDATA= themes/*.toml
PORTDOCS= *.md
OPTIONS_DEFINE= DOCS
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/so
${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} themes ${STAGEDIR}${DATADIR})
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
|