summaryrefslogtreecommitdiff
path: root/www/drupal7/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/drupal7/Makefile')
-rw-r--r--www/drupal7/Makefile20
1 files changed, 18 insertions, 2 deletions
diff --git a/www/drupal7/Makefile b/www/drupal7/Makefile
index 51282da4bbd..7e8f0d025f3 100644
--- a/www/drupal7/Makefile
+++ b/www/drupal7/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.50 2018/08/02 16:18:47 prlw1 Exp $
+# $NetBSD: Makefile,v 1.51 2018/10/03 10:58:15 prlw1 Exp $
DISTNAME= drupal-7.59
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= https://ftp.drupal.org/files/projects/
@@ -66,6 +66,22 @@ INSTALLATION_DIRS+= ${DRUPAL}/${i}
post-extract:
${CP} ${FILESDIR}/drupal.conf ${WRKSRC}
+pre-install:
+ ${RM} \
+ ${WRKSRC}/includes/bootstrap.inc.orig \
+ ${WRKSRC}/includes/form.inc.orig \
+ ${WRKSRC}/includes/install.inc.orig \
+ ${WRKSRC}/includes/menu.inc.orig \
+ ${WRKSRC}/includes/module.inc.orig \
+ ${WRKSRC}/includes/theme.inc.orig \
+ ${WRKSRC}/modules/book/book.module.orig \
+ ${WRKSRC}/modules/field/modules/list/list.install.orig \
+ ${WRKSRC}/modules/locale/locale.test.orig \
+ ${WRKSRC}/modules/simpletest/tests/themes/test_theme/theme-settings.php.orig \
+ ${WRKSRC}/modules/system/system.admin.inc.orig \
+ ${WRKSRC}/modules/system/system.test.orig \
+ ${WRKSRC}/modules/system/system.tar.inc.orig
+
do-install:
${INSTALL_DATA} ${WRKSRC}/robots.txt ${DESTDIR}${PREFIX}/${DRUPAL}
${INSTALL_DATA} ${WRKSRC}/drupal.conf \