aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2017-12-22 14:39:41 +0800
committeryuri <yuri@FreeBSD.org>2017-12-22 14:39:41 +0800
commitc0848538d67816b3d85f1972631ecb4a522da45d (patch)
tree3254cb1419ca90b87ee6fa5729f86c4f86e47f1d /audio
parentc6b54e69bb9ff152ccfd43ee86e6eb17fd78b57a (diff)
downloadfreebsd-ports-gnome-c0848538d67816b3d85f1972631ecb4a522da45d.tar.gz
freebsd-ports-gnome-c0848538d67816b3d85f1972631ecb4a522da45d.tar.zst
freebsd-ports-gnome-c0848538d67816b3d85f1972631ecb4a522da45d.zip
audio/padthv1-lv2: Simplified the SHLN replacement statement as per Mat's suggestion
Reported by: mat Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13568
Diffstat (limited to 'audio')
-rw-r--r--audio/padthv1-lv2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/padthv1-lv2/Makefile b/audio/padthv1-lv2/Makefile
index 21a1d6cda940..917fb1bcf33b 100644
--- a/audio/padthv1-lv2/Makefile
+++ b/audio/padthv1-lv2/Makefile
@@ -24,7 +24,7 @@ GH_ACCOUNT= rncbc
USE_GL= gl
USE_QT5= core gui widgets xml buildtools_build qmake_build
-PLIST_SUB= SHL3=${DISTVERSION:S/_/./g} SHL2=${DISTVERSION:C/([[:digit:]])_([[:digit:]])_[[:digit:]]/\1.\2/} SHL1=${DISTVERSION:C/([[:digit:]])_.*/\1/}
+PLIST_SUB= SHL3=${PORTVERSION} SHL2=${PORTVERSION:R} SHL1=${PORTVERSION:R:R}
CONFIGURE_ARGS= --disable-alsa-midi