aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/poudriere-devel/Makefile
blob: 5b757bdb79e20a1b71427e55f0418e3425a35068 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# $FreeBSD$

PORTNAME=   poudriere
PORTVERSION=    3.0.99.20130608
CATEGORIES= ports-mgmt
MASTER_SITES=   http://fossil.etoilebsd.net/poudriere/tarball/ \
        LOCAL/bdrewery/${PORTNAME}/
PKGNAMESUFFIX=  -devel
DISTFILES=  ${PORTNAME}-${PORTVERSION}.tar.gz?uuid=${FSL_CHKIN}

# Also maintained by bdrewery@FreeBSD.org
MAINTAINER= bapt@FreeBSD.org
COMMENT=    Port build and test system

LICENSE=    BSD

FSL_CHKIN=  e38d69a149

MANCOMPRESSED=  yes
MAN8=   poudriere.8

OPTIONS_DEFINE= ZSH

CONFLICTS_INSTALL=  poudriere-[0-9]*

PLIST_FILES=    etc/poudriere.conf.sample \
        etc/poudriere.d/hooks/pkgbuild.sh.sample \
        etc/rc.d/poudriere \
        bin/poudriere \
        libexec/poudriere/dirwatch \
        libexec/poudriere/dirempty \
        libexec/poudriere/make_index \
        share/poudriere/awk/dependency_loop.awk \
        share/poudriere/awk/humanize.awk \
        share/poudriere/awk/json.awk \
        share/poudriere/awk/siginfo_buildtime.awk \
        share/poudriere/html/index.html \
        share/poudriere/html/assets/jquery-1.9.1.min.js \
        share/poudriere/html/assets/logo.jpg \
        share/poudriere/html/assets/poudriere.css \
        share/poudriere/html/assets/poudriere.js \
        share/poudriere/bulk.sh \
        share/poudriere/clean.sh \
        share/poudriere/common.sh \
        share/poudriere/daemon.sh \
        share/poudriere/distclean.sh \
        share/poudriere/jail.sh \
        share/poudriere/options.sh \
        share/poudriere/ports.sh \
        share/poudriere/queue.sh \
        share/poudriere/status.sh \
        share/poudriere/testport.sh

PLIST_DIRS= libexec/poudriere \
        etc/poudriere.d/hooks \
        etc/poudriere.d \
        share/poudriere/awk \
        share/poudriere/html \
        share/poudriere/html/assets \
        share/poudriere

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MZSH}
PLIST_FILES+=   share/zsh/site-functions/_poudriere
PLIST_DIRSTRY+= share/zsh/site-functions
PLIST_DIRSTRY+= share/zsh/
.endif

post-install:
.if ${PORT_OPTIONS:MZSH}
    @${MKDIR} ${PREFIX}/share/zsh/site-functions/
    @${INSTALL_DATA} ${WRKSRC}/zsh-completions ${PREFIX}/share/zsh/site-functions/_poudriere
.endif

.include <bsd.port.mk>