aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/portshaker/Makefile
blob: a343601e583686638511ff3cc7477b17bb7afc78 (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
# New ports collection makefile for:    portshaker
# Date created:     2008-11-01
# Whom:         Romain Tartiere <romain@blogreen.org>
#
# $FreeBSD$
#

PORTNAME?=  portshaker
PORTVERSION=    1.0.3
PORTREVISION?=  0
CATEGORIES?=    ports-mgmt
MASTER_SITES=   http://bsd-sharp.googlecode.com/files/ \
        http://romain.blogreen.org/distfiles/
DISTNAME=   portshaker-${PORTVERSION}

MAINTAINER?=    romain@FreeBSD.org
COMMENT?=   Maintain ports tree using multiple sources

.if ${PORTNAME} == "portshaker"
OPTIONS=    RSYNC          "Force dependency on rsync"             on \
        SVN            "Force dependency on Subversion"        on \
        GIT            "Force dependency on Git"               off \
        HG             "Force dependency on Mercurial"         off \

MAN5=       portshaker.conf.5 \
        portshaker.d.5
MAN8=       portshaker.8
.else
OPTIONS=    BSDSHARP  "Enable BSD-sharp ports"                on \
        ENLIGHTENMENT "Enable Enlightnement ports"        off \
        HASKELL   "Enable Haskell ports"                  off \
        MARCUSCOM "Enable GNOME development ports"        off \
        TEXLIVE   "Enable TeXLive ports (Experimental)"   off
.endif

.include <bsd.port.options.mk>

.if ${PORTNAME} == "portshaker"

. if defined(WITH_RSYNC)
RUN_DEPENDS+=   rsync:${PORTSDIR}/net/rsync
. endif
. if defined(WITH_SVN)
RUN_DEPENDS+=   svn:${PORTSDIR}/devel/subversion
. endif
. if defined(WITH_GIT)
RUN_DEPENDS+=   git:${PORTSDIR}/devel/git
. endif
. if defined(WITH_HG)
RUN_DEPENDS+=   hg:${PORTSDIR}/devel/mercurial
. endif

.else

. if defined (WITH_BSDSHARP)
MAKE_ENV+=  WITH_BSDSHARP=1
. endif
. if defined (WITH_ENLIGHTENMENT)
MAKE_ENV+=  WITH_ENLIGHTENMENT=1
. endif
. if defined (WITH_HASKELL)
MAKE_ENV+=  WITH_HASKELL=1
. endif
. if defined (WITH_MARCUSCOM)
MAKE_ENV+=  WITH_MARCUSCOM=1
. endif
. if defined (WITH_TEXLIVE)
MAKE_ENV+=  WITH_TEXLIVE=1
. endif

.endif

.include <bsd.port.mk>