aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.kde4.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/bsd.kde4.mk')
-rw-r--r--Mk/bsd.kde4.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/Mk/bsd.kde4.mk b/Mk/bsd.kde4.mk
index 2ff7faa4ab25..c0bec9c4a743 100644
--- a/Mk/bsd.kde4.mk
+++ b/Mk/bsd.kde4.mk
@@ -39,6 +39,16 @@ pre-everything::
@${ECHO} ">>> Warning: this port needs to be updated as it uses the old-style USE_QT2 variable!"
.endif
+# tagged MASTER_SITE_KDE_kde
+
+kmaster= ${MASTER_SITE_KDE:S@%/@%/:kde@g}
+.if !defined(MASTER_SITE_SUBDIR)
+MASTER_SITE_KDE_kde= ${kmaster:S@%SUBDIR%/@@g}
+.else
+ksub=${MASTER_SITE_SUBDIR}
+MASTER_SITE_KDE_kde= ${kmaster:S@%SUBDIR%/@${ksub}/@g}
+.endif
+
# USE_KDEBASE_VER section
.if defined(USE_KDEBASE_VER)
@@ -66,7 +76,6 @@ USE_KDELIBS_VER=2
LIB_DEPENDS+= kdecore:${PORTSDIR}/x11/kdelibs3
USE_QT_VER= 3
PREFIX= ${KDE_PREFIX}
-MASTER_SITE_KDE_kde= ${MASTER_SITE_KDE:S@%/@%/:kde@g}
.else