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
|
2013-01-13 15:28:47 +01:00
|
|
|
PORTVERSION= 1.0.7
|
2010-06-09 15:21:18 +02:00
|
|
|
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"
|
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
|
2010-06-09 15:21:18 +02:00
|
|
|
MAN5= portshaker.conf.5 \
|
|
|
|
portshaker.d.5
|
|
|
|
MAN8= portshaker.8
|
|
|
|
.else
|
2012-12-30 00:07:29 +01:00
|
|
|
OPTIONS_DEFINE= BSDSHARP ENLIGHTENMENT HASKELL MARCUSCOM TEXLIVE XORG
|
|
|
|
OPTIONS_DEFAULT= BSDSHARP
|
|
|
|
BSDSHARP_DESC= Enable BSD-sharp ports
|
|
|
|
ENLIGHTENMENT_DESC= Enable Enlightnement ports
|
|
|
|
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
|
2010-06-09 15:21:18 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORTNAME} == "portshaker"
|
|
|
|
|
2012-12-30 00:07:29 +01:00
|
|
|
. if ${PORT_OPTIONS:MRSYNC}
|
2010-06-09 15:21:18 +02:00
|
|
|
RUN_DEPENDS+= rsync:${PORTSDIR}/net/rsync
|
|
|
|
. endif
|
2012-12-30 00:07:29 +01:00
|
|
|
. if ${PORT_OPTIONS:MSVN}
|
2010-06-09 15:21:18 +02:00
|
|
|
RUN_DEPENDS+= svn:${PORTSDIR}/devel/subversion
|
|
|
|
. endif
|
2012-12-30 00:07:29 +01:00
|
|
|
. if ${PORT_OPTIONS:MGIT}
|
2010-06-09 15:21:18 +02:00
|
|
|
RUN_DEPENDS+= git:${PORTSDIR}/devel/git
|
|
|
|
. endif
|
2012-12-30 00:07:29 +01:00
|
|
|
. if ${PORT_OPTIONS:MHG}
|
2010-06-09 15:21:18 +02:00
|
|
|
RUN_DEPENDS+= hg:${PORTSDIR}/devel/mercurial
|
|
|
|
. endif
|
|
|
|
|
|
|
|
.else
|
|
|
|
|
2012-12-30 00:07:29 +01:00
|
|
|
. if ${PORT_OPTIONS:MBSDSHARP}
|
2010-06-09 15:21:18 +02:00
|
|
|
MAKE_ENV+= WITH_BSDSHARP=1
|
|
|
|
. endif
|
2012-12-30 00:07:29 +01:00
|
|
|
. if ${PORT_OPTIONS:MENLIGHTENMENT}
|
2010-09-23 10:12:30 +02:00
|
|
|
MAKE_ENV+= WITH_ENLIGHTENMENT=1
|
|
|
|
. endif
|
2012-12-30 00:07:29 +01:00
|
|
|
. if ${PORT_OPTIONS:MHASKELL}
|
2011-07-14 12:52:15 +02:00
|
|
|
MAKE_ENV+= WITH_HASKELL=1
|
|
|
|
. endif
|
2012-12-30 00:07:29 +01:00
|
|
|
. if ${PORT_OPTIONS:MMARCUSCOM}
|
2010-06-09 15:21:18 +02:00
|
|
|
MAKE_ENV+= WITH_MARCUSCOM=1
|
|
|
|
. endif
|
2012-12-30 00:07:29 +01:00
|
|
|
. if ${PORT_OPTIONS:MTEXLIVE}
|
2010-06-09 15:21:18 +02:00
|
|
|
MAKE_ENV+= WITH_TEXLIVE=1
|
|
|
|
. endif
|
2012-12-30 00:07:29 +01:00
|
|
|
. if ${PORT_OPTIONS:MXORG}
|
2012-04-27 16:33:28 +02:00
|
|
|
MAKE_ENV+= WITH_XORG=1
|
|
|
|
. endif
|
2010-06-09 15:21:18 +02:00
|
|
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|