blob: c0d88869c7c26b8d1acccf54917337396ebe8967 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# $FreeBSD$
PORTNAME= portmaster
PORTVERSION= 3.17.10
CATEGORIES= ports-mgmt
MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/ \
http://mirror.shatow.net/freebsd/${PORTNAME}/ \
GH
MAINTAINER= se@FreeBSD.org
COMMENT= Manage your ports without external databases or languages
LICENSE= BSD2CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= freebsd
OPTIONS_DEFINE= BASH ZSH
OPTIONS_DEFAULT=BASH ZSH
PLIST_FILES= sbin/portmaster \
etc/portmaster.rc.sample \
man/man8/portmaster.8.gz
BASH_PLIST_FILES= etc/bash_completion.d/portmaster.sh
ZSH_PLIST_FILES= share/zsh/site-functions/_portmaster
NO_ARCH= yes
verify: checksum
do-build:
.for file in portmaster files/portmaster.rc.sample files/portmaster.8
${SED} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/${file} \
> ${WRKDIR}/${file:T}
.endfor
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/portmaster \
${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKDIR}/portmaster.rc.sample \
${STAGEDIR}${PREFIX}/etc
${INSTALL_MAN} ${WRKSRC}/files/portmaster.8 \
${STAGEDIR}${MAN8PREFIX}/man/man8
post-install-BASH-on:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
${INSTALL_DATA} ${WRKSRC}/files/bash-completions \
${STAGEDIR}${PREFIX}/etc/bash_completion.d/portmaster.sh
post-install-ZSH-on:
${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/files/zsh-completions \
${STAGEDIR}${PREFIX}/share/zsh/site-functions/_portmaster
.include <bsd.port.mk>
|