2012-12-30 00:07:29 +01:00
|
|
|
# Created by: Romain Tartiere <romain@blogreen.org>
|
2010-06-09 15:21:18 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME?= portshaker
|
2014-05-06 12:09:00 +02:00
|
|
|
PORTVERSION= 1.0.10
|
2015-05-07 19:32:52 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2014-12-27 15:56:32 +01:00
|
|
|
PORTREVISION?= 1
|
2010-06-09 15:21:18 +02:00
|
|
|
CATEGORIES?= ports-mgmt
|
|
|
|
|
|
|
|
MAINTAINER?= romain@FreeBSD.org
|
|
|
|
COMMENT?= Maintain ports tree using multiple sources
|
|
|
|
|
2014-09-13 17:30:13 +02:00
|
|
|
USES+= uidfix
|
2014-01-18 17:35:12 +01:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= smortex
|
2015-05-08 18:37:46 +02:00
|
|
|
GH_PROJECT= portshaker
|
2014-01-18 17:35:12 +01:00
|
|
|
|
2010-06-09 15:21:18 +02:00
|
|
|
.if ${PORTNAME} == "portshaker"
|
2012-12-30 00:07:29 +01:00
|
|
|
OPTIONS_DEFINE= RSYNC SVN GIT HG
|
|
|
|
OPTIONS_DEFAULT= RSYNC SVN
|
|
|
|
RSYNC_DESC= rsync support
|
|
|
|
GIT_DESC= git support
|
|
|
|
HG_DESC= mercurial support
|
2016-04-01 16:16:16 +02:00
|
|
|
RSYNC_RUN_DEPENDS= rsync:net/rsync
|
2015-12-30 16:22:15 +01:00
|
|
|
.if defined(WITH_SUBVERSION_VER) && ${WITH_SUBVERSION_VER} == 18
|
2016-04-01 16:16:16 +02:00
|
|
|
SVN_RUN_DEPENDS= svn:devel/subversion18
|
2014-12-27 15:56:32 +01:00
|
|
|
.else
|
2016-04-01 16:16:16 +02:00
|
|
|
SVN_RUN_DEPENDS= svn:devel/subversion
|
2014-12-27 15:56:32 +01:00
|
|
|
.endif
|
2016-04-01 16:16:16 +02:00
|
|
|
GIT_RUN_DEPENDS= git:devel/git
|
|
|
|
HG_RUN_DEPENDS= hg:devel/mercurial
|
2010-06-09 15:21:18 +02:00
|
|
|
.else
|
2013-01-30 12:54:46 +01:00
|
|
|
OPTIONS_DEFINE= BSDSHARP ENLIGHTENMENT GECKO HASKELL MARCUSCOM TEXLIVE XORG
|
2012-12-30 00:07:29 +01:00
|
|
|
OPTIONS_DEFAULT= BSDSHARP
|
|
|
|
BSDSHARP_DESC= Enable BSD-sharp ports
|
|
|
|
ENLIGHTENMENT_DESC= Enable Enlightnement ports
|
2013-01-30 12:54:46 +01:00
|
|
|
GECKO_DESC= Enable Gecko ports
|
2012-12-30 00:07:29 +01:00
|
|
|
HASKELL_DESC= Enable Haskell ports
|
|
|
|
MARCUSCOM_DESC= Enable GNOME development ports
|
|
|
|
TEXLIVE_DESC= Enable TeXLive ports (Experimental)
|
2012-12-30 00:10:48 +01:00
|
|
|
XORG_DESC= Enable Xorg development ports
|
2014-02-27 16:22:42 +01:00
|
|
|
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
|
2010-06-09 15:21:18 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|