diff options
author | Chris Rees <crees@FreeBSD.org> | 2013-01-26 19:06:31 +0000 |
---|---|---|
committer | Chris Rees <crees@FreeBSD.org> | 2013-01-26 19:06:31 +0000 |
commit | 383334ede160c86b67a617000f453e2bd0df2957 (patch) | |
tree | d2745b936645459e4017ba1811f61964d2f88709 /www/drupal7-wysiwyg | |
parent | 8180f9c3f95e18dd64a205d52df9b01d7ce6fbd4 (diff) | |
download | ports-383334ede160c86b67a617000f453e2bd0df2957.tar.gz ports-383334ede160c86b67a617000f453e2bd0df2957.zip |
Notes
Diffstat (limited to 'www/drupal7-wysiwyg')
-rw-r--r-- | www/drupal7-wysiwyg/Makefile | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/www/drupal7-wysiwyg/Makefile b/www/drupal7-wysiwyg/Makefile index af41023612cf..cfbb9915cafe 100644 --- a/www/drupal7-wysiwyg/Makefile +++ b/www/drupal7-wysiwyg/Makefile @@ -1,38 +1,36 @@ -# Ports collection makefile for: drupal7-wysiwyg -# Date created: 2 June 2009 -# Whom: Nick Hilliard <nick@foobar.org> -# +# Created by: Nick Hilliard <nick@foobar.org> # $FreeBSD$ -# PORTNAME= wysiwyg DISTVERSION= 7.x-2.0 CATEGORIES= www -MAINTAINER= nick@foobar.org +MAINTAINER= ports@FreeBSD.org COMMENT= Allows implementation of WYSIWYG editors for editing Drupal content #LICENSE from bsd.drupal.mk USE_DRUPAL= yes -OPTIONS= TINYMCE3 "Install TinyMCE3 Editor" off \ - CKEDITOR "Install CKEditor" off \ - YUI "Install Yahoo UI Editor" off +OPTIONS_DEFINE= TINYMCE3 CKEDITOR YUI + +TINYMCE3_DESC= Install TinyMCE3 Editor +CKEDITOR_DESC= Install CKEditor +YUI_DESC= Install Yahoo UI Editor .include <bsd.port.options.mk> -.if defined(WITH_TINYMCE3) +.if ${PORT_OPTIONS:MTINYMCE3} RUN_DEPENDS+= ${LOCALBASE}/www/tinymce:${PORTSDIR}/www/tinymce3 PLIST_FILES+= ${DRUPAL_MODLIB}/tinymce .endif -.if defined(WITH_CKEDITOR) +.if ${PORT_OPTIONS:MCKEDITOR} RUN_DEPENDS+= ${LOCALBASE}/www/ckeditor:${PORTSDIR}/www/ckeditor PLIST_FILES+= ${DRUPAL_MODLIB}/ckeditor .endif -.if defined(WITH_YUI) +.if ${PORT_OPTIONS:MYUI} RUN_DEPENDS+= ${LOCALBASE}/www/yui:${PORTSDIR}/www/yahoo-ui PLIST_FILES+= ${DRUPAL_MODLIB}/yui .endif @@ -103,13 +101,13 @@ MODULE_DIRS= editors/css editors/js editors plugins/break/images \ DOC_FILES= CHANGELOG.txt README.txt LICENSE.txt post-install: -.if defined(WITH_TINYMCE3) +.if ${PORT_OPTIONS:MTINYMCE3} ${LN} -fs ${PREFIX}/www/tinymce ${PREFIX}/${DRUPAL_MODLIB} .endif -.if defined(WITH_CKEDITOR) +.if ${PORT_OPTIONS:MCKEDITOR} ${LN} -fs ${PREFIX}/www/CKEditor ${PREFIX}/${DRUPAL_MODLIB}/ckeditor .endif -.if defined(WITH_YUI) +.if ${PORT_OPTIONS:MYUI} ${LN} -fs ${PREFIX}/www/yahoo ${PREFIX}/${DRUPAL_MODLIB}/yui .endif |