c7518e8b56
PEOPLE WHO TESTED drupal BEFORE: You *must* disable extra modules and themes from a working drupal install before the update, and reenable them afterwards. If you forgot to, - ln all the stuff in sites/all/modules and sites/all/themes to modules and themes - check your site runs again, disable extra stuff - remove the links and re-enable stuff. okay naddy@
28 lines
765 B
Makefile
28 lines
765 B
Makefile
# $OpenBSD: Makefile,v 1.3 2008/02/24 15:48:26 espie Exp $
|
|
|
|
COMMENT = tinymce for drupal
|
|
|
|
DISTNAME = tinymce-5.x-1.9
|
|
PKGNAME = drupal5-tinymce-1.9p1
|
|
|
|
DISTFILES = ${DISTNAME}.tar.gz \
|
|
tinymce_2_1_3.zip:0 tinymce_compressor_php_2_0.zip:0
|
|
MASTER_SITES0 = ${MASTER_SITE_SOURCEFORGE:=tinymce/}
|
|
|
|
post-extract:
|
|
mkdir -p ${WRKDIST}/tinymce
|
|
mv ${WRKDIST}/jscripts ${WRKDIST}/tinymce
|
|
mv ${WRKDIR}/tinymce_compressor_php/tiny_mce_gzip.{js,php} \
|
|
${WRKDIST}/tinymce/jscripts/tiny_mce
|
|
|
|
CACHEDIR = ${PREFIX}/${DRUPAL_MODS}/tinymce/tinymce/jscripts/tiny_mce/cache
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${CACHEDIR}
|
|
cd ${PREFIX}/${DRUPAL_MODS}/tinymce && \
|
|
mv plugin_reg.php plugin_reg.php.dist
|
|
chown www.www ${CACHEDIR}
|
|
chmod ug+rwx ${CACHEDIR}
|
|
|
|
.include <bsd.port.mk>
|