aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/poudriere/Makefile
blob: a0b1c2b04f288efe28a5ab86c7658eba73ede35c (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
# New ports collection makefile for:    poudriere
# Date created:     2012-01-31
# Whom:         Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   poudriere
PORTVERSION=    1.5.3
CATEGORIES= ports-mgmt
MASTER_SITES=   http://files.etoilebsd.net/poudriere/

MAINTAINER= bapt@FreeBSD.org
COMMENT=    Port build and test system

LICENSE=    BSD

NO_BUILD=   yes
MANCOMPRESSED=  yes
MAN8=   poudriere.8

OPTIONS+=   ZSH "Install zsh completion" off

PLIST_FILES=    etc/poudriere.conf.sample \
        bin/poudriere \
        share/poudriere/common.sh \
        share/poudriere/test_ports.sh \
        share/poudriere/ports.sh \
        share/poudriere/pbi.sh \
        share/poudriere/jail.sh \
        share/poudriere/bulk.sh \
        share/poudriere/cron.sh \
        share/poudriere/queue.sh \
        poudriere/cron/.keep

PLIST_DIRS= share/poudriere \
        poudriere/cron \
        poudriere

.include <bsd.port.options.mk>

.if defined(WITH_ZSH)
PLIST_FILES+=   share/zsh/site-functions/_poudriere
PLIST_DIRSTRY+= share/zsh/site-functions
PLIST_DIRSTRY+= share/zsh/
.endif

post-install:
    @${TOUCH} ${PREFIX}/poudriere/cron/.keep
.if defined(WITH_ZSH)
    @${MKDIR} ${PREFIX}/share/zsh/site-functions/
    @${INSTALL_DATA} ${WRKSRC}/zsh-completions ${PREFIX}/share/zsh/site-functions/_poudriere
.endif

.include <bsd.port.mk>