blob: 16d4f6757921f5c96005293751d1f734ae52ae3c (
plain) (
blame)
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
34
35
|
PORTNAME= topgrade
DISTVERSIONPREFIX= v
DISTVERSION= 11.0.2
PORTREVISION= 5
CATEGORIES= sysutils
MAINTAINER= freebsd@scd-systems.net
COMMENT= Tool for upgrade everything
WWW= https://github.com/topgrade-rs/topgrade
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= sudo:security/sudo
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= topgrade-rs
PLIST_FILES= bin/topgrade \
share/man/man1/topgrade.1.gz
PORTEXAMPLES= config.example.toml
OPTIONS_DEFINE= EXAMPLES
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${STAGEDIR}${PREFIX}/bin/${PORTNAME} --gen-manpage > ${WRKSRC}/${PORTNAME}.1
${INSTALL_MAN} ${WRKSRC}/topgrade.1 ${STAGEDIR}${PREFIX}/share/man/man1/
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|