aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormeta <meta@FreeBSD.org>2018-11-06 13:44:42 +0800
committermeta <meta@FreeBSD.org>2018-11-06 13:44:42 +0800
commitbe70ff6c0c6ad9c5644eb97d9b1749c966c73c14 (patch)
tree19a013e3ece383a787c238a40c10bbbbba7ef50c /security
parente184ac669648e6080c0f159f526ca7bcb9e45fb3 (diff)
downloadfreebsd-ports-gnome-be70ff6c0c6ad9c5644eb97d9b1749c966c73c14.tar.gz
freebsd-ports-gnome-be70ff6c0c6ad9c5644eb97d9b1749c966c73c14.tar.zst
freebsd-ports-gnome-be70ff6c0c6ad9c5644eb97d9b1749c966c73c14.zip
security/softether{,-devel}: switch to DISTVERSION
- Quit using hardcoded WRKSRC, it is almost as same as DISTVERSION Approved by: mentors (implicit)
Diffstat (limited to 'security')
-rw-r--r--security/softether-devel/Makefile2
-rw-r--r--security/softether/Makefile8
2 files changed, 5 insertions, 5 deletions
diff --git a/security/softether-devel/Makefile b/security/softether-devel/Makefile
index 04377cfed818..c378134f9e72 100644
--- a/security/softether-devel/Makefile
+++ b/security/softether-devel/Makefile
@@ -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
diff --git a/security/softether/Makefile b/security/softether/Makefile
index 74bd38012f85..7af712102af2 100644
--- a/security/softether/Makefile
+++ b/security/softether/Makefile
@@ -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