aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portshaker/Makefile
blob: 013b0bdcff6db841eb2cc07dcf18505a1be95de4 (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
# Created by: Romain Tartiere <romain@blogreen.org>

PORTNAME?=	portshaker
PORTVERSION=	1.0.19
DISTVERSIONPREFIX=	v
PORTREVISION?=	1
CATEGORIES?=	ports-mgmt

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

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

USES+=		uidfix
USE_GITHUB=	yes
GH_ACCOUNT=	smortex
GH_PROJECT=	portshaker

.if ${PORTNAME} == "portshaker"
OPTIONS_DEFINE=		GIT MERCURIAL RSYNC SUBVERSION
OPTIONS_DEFAULT=	RSYNC SUBVERSION
RSYNC_DESC=	rsync support
RSYNC_RUN_DEPENDS=	rsync:net/rsync
WITH_SUBVERSION_VER?=   114
.if ${WITH_SUBVERSION_VER} == 114
SUBVERSION_RUN_DEPENDS=	svn:devel/subversion
.elif ${WITH_SUBVERSION_VER} == LTS
SUBVERSION_RUN_DEPENDS=	svn:devel/subversion-lts
.endif
GIT_RUN_DEPENDS=	git:devel/git
MERCURIAL_RUN_DEPENDS=	${PY_MERCURIAL}
.else
OPTIONS_DEFINE=	BSDSHARP ENLIGHTENMENT GECKO HASKELL MARCUSCOM TEXLIVE XORG
OPTIONS_DEFAULT=	BSDSHARP
BSDSHARP_DESC=		Enable BSD-sharp ports
ENLIGHTENMENT_DESC=	Enable Enlightnement ports
GECKO_DESC=		Enable Gecko ports
HASKELL_DESC=		Enable Haskell ports
MARCUSCOM_DESC=		Enable GNOME development ports
TEXLIVE_DESC=		Enable TeXLive ports (Experimental)
XORG_DESC=		Enable Xorg development ports
BSDSHARP_MAKE_ENV=	WITH_BSDSHARP=1
ENLIGHTENMENT_MAKE_ENV=	WITH_ENLIGHTENMENT=1
GECKO_MAKE_ENV=		WITH_GECKO=1
HASKELL_MAKE_ENV=	WITH_HASKELL=1
MARCUSCOM_MAKE_ENV=	WITH_MARCUSCOM=1
TEXLIVE_MAKE_ENV=	WITH_TEXLIVE=1
XORG_MAKE_ENV=		WITH_XORG=1
.endif

.include <bsd.port.mk>