aboutsummaryrefslogtreecommitdiff
path: root/security/softether/Makefile
diff options
context:
space:
mode:
authorKoichiro Iwao <meta@FreeBSD.org>2018-11-06 05:44:42 +0000
committerKoichiro Iwao <meta@FreeBSD.org>2018-11-06 05:44:42 +0000
commitc1c8ca2a288fd02d79c9b467169955a498da2cdc (patch)
tree19a013e3ece383a787c238a40c10bbbbba7ef50c /security/softether/Makefile
parentc89a730c824cc5d8c15f27105327e1a5ab807c55 (diff)
downloadports-c1c8ca2a288fd02d79c9b467169955a498da2cdc.tar.gz
ports-c1c8ca2a288fd02d79c9b467169955a498da2cdc.zip
security/softether{,-devel}: switch to DISTVERSION
- Quit using hardcoded WRKSRC, it is almost as same as DISTVERSION Approved by: mentors (implicit)
Notes
Notes: svn path=/head/; revision=484276
Diffstat (limited to 'security/softether/Makefile')
-rw-r--r--security/softether/Makefile8
1 files changed, 4 insertions, 4 deletions
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