aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-04-05 02:00:28 +0800
committermiwi <miwi@FreeBSD.org>2009-04-05 02:00:28 +0800
commit7828e22b5a9a3ae2cce25acb9410076ae374a488 (patch)
treee227b9c1279bba385a840f1ec0d66023fe2d0a48 /Mk
parent39f719cdbd188a2ec65f9642de797ea4227a97bd (diff)
downloadfreebsd-ports-gnome-7828e22b5a9a3ae2cce25acb9410076ae374a488.tar.gz
freebsd-ports-gnome-7828e22b5a9a3ae2cce25acb9410076ae374a488.tar.zst
freebsd-ports-gnome-7828e22b5a9a3ae2cce25acb9410076ae374a488.zip
- Drop drupal4 support
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.drupal.mk21
1 files changed, 5 insertions, 16 deletions
diff --git a/Mk/bsd.drupal.mk b/Mk/bsd.drupal.mk
index dfab8a915e6d..ae098e30dfb4 100644
--- a/Mk/bsd.drupal.mk
+++ b/Mk/bsd.drupal.mk
@@ -1,13 +1,13 @@
# $FreeBSD$
#
-# Make sure we cannot define any combination of DRUPAL{4,5,6}
-.if (defined(DRUPAL4_MODULE) && defined(DRUPAL5_MODULE)) || (defined(DRUPAL4_MODULE) && defined(DRUPAL6_MODULE)) || (defined(DRUPAL5_MODULE) && defined(DRUPAL6_MODULE))
-BROKEN= cannot define a combination of DRUPAL4_MODULE, DRUPAL5_MODULE and DRUPAL6_MODULE
+# Make sure we cannot define any combination of DRUPAL{5,6}
+.if (defined(DRUPAL5_MODULE) && defined(DRUPAL6_MODULE))
+BROKEN= cannot define a combination of DRUPAL5_MODULE and DRUPAL6_MODULE
.endif
# Make sure DRUPAL_MODULE is defined. If no DRUPAL*_module defined, then define DRUPAL4_MODULE
-.if defined(DRUPAL4_MODULE) || defined(DRUPAL5_MODULE) || defined(DRUPAL6_MODULE)
+.if defined(DRUPAL5_MODULE) || defined(DRUPAL6_MODULE)
DRUPAL_MODULE?= yes
.endif
@@ -16,7 +16,7 @@ DRUPAL_MODTYPE= modules
.endif
# Make sure DRUPAL_PORT is defined. If no DRUPAL*_module defined, then define DRUPAL4_PORT
-.if defined(DRUPAL4_PORT) || defined(DRUPAL5_PORT) || defined(DRUPAL6_PORT)
+.if defined(DRUPAL5_PORT) || defined(DRUPAL6_PORT)
DRUPAL_PORT?= yes
.endif
@@ -31,8 +31,6 @@ DRUPAL_BASE?= www/drupal6
.else
.if defined(DRUPAL5_MODULE) || defined(DRUPAL5_PORT) || defined(DRUPAL5_THEME)
DRUPAL_BASE?= www/drupal5
-.else
-DRUPAL_BASE?= www/drupal4
.endif
.endif
@@ -47,15 +45,6 @@ DOCSDIR?= ${DRUPAL_DOCSDIR}
.if defined(DRUPAL_MODULE) || defined (DRUPAL_THEME)
-.if defined(DRUPAL4_MODULE)
-PKGNAMEPREFIX= drupal4-
-DRUPAL_VERSION?= 4.7.0
-.if defined(DRUPAL_MODSUBDIR)
-DRUPAL_MODDIR?= ${DRUPAL_BASE}/${DRUPAL_MODTYPE}/${DRUPAL_MODSUBDIR}
-.else
-DRUPAL_MODDIR?= ${DRUPAL_BASE}/${DRUPAL_MODTYPE}
-.endif
-.endif
.if defined(DRUPAL5_MODULE) || defined (DRUPAL5_THEME)
PKGNAMEPREFIX= drupal5-