ports/110867: new port: drupal5-tinymce
Nick Hilliard
nick at foobar.org
Mon Mar 26 16:20:13 UTC 2007
>Number: 110867
>Category: ports
>Synopsis: new port: drupal5-tinymce
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 26 16:20:12 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Nick Hilliard
>Release: FreeBSD 6.1-RELEASE i386
>Organization:
Network Ability Ltd
>Environment:
System: FreeBSD xx 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Wed May 17 11:38:53 IST 2006 nick at xxx:/data/src/usr.src/src-6.1/src/sys/i386/compile/xxx i386
>Description:
Tinymce is an open source Javascript HTML WYSIWYG editor for web sites. This
module integrates tinymce into Drupal. It depends on www/tinymce, for which
a PR was submitted a short time ago.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# drupal5-tinymce
# drupal5-tinymce/Makefile
# drupal5-tinymce/pkg-descr
# drupal5-tinymce/distinfo
# drupal5-tinymce/files
# drupal5-tinymce/files/pkg-message.in
#
echo c - drupal5-tinymce
mkdir -p drupal5-tinymce > /dev/null 2>&1
echo x - drupal5-tinymce/Makefile
sed 's/^X//' >drupal5-tinymce/Makefile << 'END-of-drupal5-tinymce/Makefile'
X# New ports collection makefile for: drupal5-gsitemap
X# Date created: 26 Mar 2007
X# Whom: Nick Hilliard <nick at foobar.org>
X#
X# $FreeBSD: $
X#
X
XPORTNAME= tinymce
XDISTVERSION= 5.x-1.x-dev
XPORTREVISION= 20070306
XCATEGORIES= www
XMASTER_SITE_SUBDIR= pav/drupal
X
XMAINTAINER= nick at foobar.org
XCOMMENT= A Drupal module which implements the TinyMCE WYSIWYG editor for content editing
X
XTINYMCEDIR= www/tinymce
XTINYMCE_MODDIR= ${PORTNAME:C|^|${DRUPAL_MODDIR}/|}
X
XRUN_DEPENDS+= ${PREFIX}/${TINYMCEDIR}/jscripts/tiny_mce/tiny_mce.js:${PORTSDIR}/www/tinymce
X
XSUB_FILES+= pkg-message
XSUB_LIST+= TINYMCEDIR="${PREFIX}/${TINYMCEDIR}" \
X TINYMCE_MODDIR="${TINYMCE_MODDIR:C|^|${PREFIX}/|}"
X
XDRUPAL5_MODULE= yes
X
XMODULE_DIRS= plugins/drupalbreak/images plugins/drupalbreak/langs \
X plugins/drupalbreak plugins themes
X
XMODULE_FILES= plugins/drupalbreak/images/drupalbreak.gif \
X plugins/drupalbreak/images/drupalbreaktext.gif \
X plugins/drupalbreak/images/drupalpagebreak.gif \
X plugins/drupalbreak/images/drupalpagebreaktext.gif \
X plugins/drupalbreak/README.txt \
X plugins/drupalbreak/drupalbreak.css \
X plugins/drupalbreak/editor_plugin.js \
X plugins/drupalbreak/editor_plugin_src.js \
X plugins/drupalbreak/langs/en.js themes/tinymce_compact.js \
X themes/tinymce_full.js themes/tinymce_simple.js \
X plugin_reg.php tinymce.info tinymce.install tinymce.module
XDOC_FILES= CHANGELOG.TXT INSTALL.txt LICENSE.txt README.TXT
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.pre.mk>
X.include "${.CURDIR}/../../www/drupal5/bsd.drupal.mk"
X.include <bsd.port.post.mk>
END-of-drupal5-tinymce/Makefile
echo x - drupal5-tinymce/pkg-descr
sed 's/^X//' >drupal5-tinymce/pkg-descr << 'END-of-drupal5-tinymce/pkg-descr'
XTinyMCE is a platform independent web based Javascript HTML WYSIWYG editor
Xcontrol released as Open Source under LGPL by Moxiecode Systems AB. It has
Xthe ability to convert HTML TEXTAREA fields or other HTML elements to editor
Xinstances. TinyMCE is very easy to integrate into other Content Management
XSystems.
X
XThis module integrates the TinyMCE WYSIWYG editor into a Drupal site for
Xediting advanced site content.
X
XWWW: http://drupal.org/project/tinymce
END-of-drupal5-tinymce/pkg-descr
echo x - drupal5-tinymce/distinfo
sed 's/^X//' >drupal5-tinymce/distinfo << 'END-of-drupal5-tinymce/distinfo'
XMD5 (drupal/tinymce-5.x-1.x-dev.tar.gz) = 463823a73a718accf35d899759773650
XSHA256 (drupal/tinymce-5.x-1.x-dev.tar.gz) = 365aa6b89b7214b370b5a1d273e0bc5e3f4148785b04b1af8d1f078146d09841
XSIZE (drupal/tinymce-5.x-1.x-dev.tar.gz) = 29082
END-of-drupal5-tinymce/distinfo
echo c - drupal5-tinymce/files
mkdir -p drupal5-tinymce/files > /dev/null 2>&1
echo x - drupal5-tinymce/files/pkg-message.in
sed 's/^X//' >drupal5-tinymce/files/pkg-message.in << 'END-of-drupal5-tinymce/files/pkg-message.in'
XYou now need to create a WWW alias in your web server configuration to allow
Xthe Drupal module to use the TinyMCE code. For Apache based systems, the
Xfollowing directive will work:
X
X Alias %%TINYMCE_MODDIR%% %%TINYMCEDIR%%
X
XPlease see the TinyMCE Wiki for more information on how to get the most out
Xof this package:
X
X http://wiki.moxiecode.com/index.php/TinyMCE:Index
END-of-drupal5-tinymce/files/pkg-message.in
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list