1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/ports-mgmt/portshaker/Makefile
2021-04-06 16:31:07 +02:00

55 lines
1.5 KiB
Makefile

# Created by: Romain Tartiere <romain@blogreen.org>
PORTNAME?= portshaker
PORTVERSION= 1.0.18
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= RSYNC SVN GIT HG
OPTIONS_DEFAULT= RSYNC SVN
RSYNC_DESC= rsync support
GIT_DESC= git support
HG_DESC= mercurial support
RSYNC_RUN_DEPENDS= rsync:net/rsync
WITH_SUBVERSION_VER?= 114
.if ${WITH_SUBVERSION_VER} == 114
SVN_RUN_DEPENDS= svn:devel/subversion
.elif ${WITH_SUBVERSION_VER} == LTS
SVN_RUN_DEPENDS= svn:devel/subversion-lts
.endif
GIT_RUN_DEPENDS= git:devel/git
HG_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>