Fix repo protocol

While here, add LICENSE

PR:		ports/223035
Submitted by:	Markus Koschany
This commit is contained in:
Chris Rees 2017-10-15 21:58:53 +00:00
parent d49ac08021
commit 7292b74948
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452167
2 changed files with 5 additions and 3 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= portdowngrade PORTNAME= portdowngrade
PORTVERSION= 1.5 PORTVERSION= 1.6
CATEGORIES= ports-mgmt CATEGORIES= ports-mgmt
MASTER_SITES= # empty MASTER_SITES= # empty
DISTFILES= # none DISTFILES= # none
@ -10,6 +10,8 @@ DISTFILES= # none
MAINTAINER= crees@FreeBSD.org MAINTAINER= crees@FreeBSD.org
COMMENT= Sets a port back to a previous version COMMENT= Sets a port back to a previous version
LICENSE= BSD2CLAUSE # public domain
RUN_DEPENDS= svn:devel/subversion${WITH_SUBVERSION_VER} RUN_DEPENDS= svn:devel/subversion${WITH_SUBVERSION_VER}
NO_BUILD= yes NO_BUILD= yes

View file

@ -58,7 +58,7 @@ getport_recursive()
fi fi
} }
svn=$(which svn 2>/dev/null) || err "Where is Subversion??" svn=$(which svn 2>/dev/null) || $(which svnlite 2>/dev/null) || err "Where is Subversion??"
PORTSDIR="$(make -f /usr/share/mk/bsd.port.mk -VPORTSDIR)" PORTSDIR="$(make -f /usr/share/mk/bsd.port.mk -VPORTSDIR)"
@ -112,7 +112,7 @@ EOF
;; ;;
esac esac
: ${svnroot=http://svn.freebsd.org/ports/head} : ${svnroot=https://svn.freebsd.org/ports/head}
# Get port directory # Get port directory
portdir="${1%$PORTSDIR}" portdir="${1%$PORTSDIR}"