security/softether{,-devel}: switch to DISTVERSION

- Quit using hardcoded WRKSRC, it is almost as same as DISTVERSION

Approved by:	mentors (implicit)
This commit is contained in:
Koichiro Iwao
2018-11-06 05:44:42 +00:00
parent c89a730c82
commit c1c8ca2a28
2 changed files with 5 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
# a pity the source directory has such a naming scheme, but well
WRKSRC= ${WRKDIR}/v4.27-9668
WRKSRC= ${WRKDIR}/v${DISTVERSION:S/-beta$//}
ALL_TARGET= build

View File

@@ -1,11 +1,11 @@
# $FreeBSD$
PORTNAME= softether
PORTVERSION= 4.25.9656
DISTVERSION= 4.25-9656
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://www.softether-download.com/files/softether/v4.25-9656-rtm-2018.01.15-tree/Source_Code/
DISTNAME= ${PORTNAME}-src-v4.25-9656-rtm
MASTER_SITES= https://www.softether-download.com/files/softether/v${DISTVERSION}-rtm-2018.01.15-tree/Source_Code/
DISTNAME= ${PORTNAME}-src-v${DISTVERSION}-rtm
MAINTAINER= meta@FreeBSD.org
COMMENT= Softether VPN solution
@@ -47,7 +47,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
# a pity the source directory has such a naming scheme, but well
WRKSRC= ${WRKDIR}/v4.25-9656
WRKSRC= ${WRKDIR}/v${DISTVERSION}
ALL_TARGET= build