ports/125798: [new port] www/drupal6-advanced_help
Eygene Ryabinkin
rea-fbsd at codelabs.ru
Sun Jul 20 11:00:04 UTC 2008
>Number: 125798
>Category: ports
>Synopsis: [new port] www/drupal6-advanced_help
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 20 11:00:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Eygene Ryabinkin
>Release: FreeBSD 7.0-STABLE amd64
>Organization:
Code Labs
>Environment:
System: FreeBSD XXX 7.0-STABLE FreeBSD 7.0-STABLE #6: Thu Jul 3 20:39:48 MSD 2008 root at XXX:/usr/obj/usr/src/sys/XXX amd64
>Description:
There is no port for the Drupal module advanced_help. It seems
that this new module will gain popularity, since it provides unified
interface to the help topics for Drupal modules. For example,
Drupal module views 2.0 requires this module to display its help.
>How-To-Repeat:
ls -ld /usr/ports/www/drupal6-advanced_help
>Fix:
The following patch will add the required port. It was tested with
drupal6-views port on my Drupal 6 installation for a couple of days.
--- drupal6-advanced_help.new-port.patch begins here ---
diff -urN /var/empty/Makefile drupal6-advanced_help/Makefile
--- /var/empty/Makefile 1970-01-01 03:00:00.000000000 +0300
+++ drupal6-advanced_help/Makefile 2008-07-20 14:16:33.000000000 +0400
@@ -0,0 +1,33 @@
+# New ports collection makefile for: drupal6-advanced_help
+#
+
+PORTNAME= advanced_help
+DISTVERSION= 6.x-1.0
+CATEGORIES= www
+MASTER_SITES= http://ftp.drupal.org/files/projects/
+
+COMMENT= Allows to store module help pages outside the module system
+
+DRUPAL6_MODULE= yes
+MODULE_DIRS= help help_example help_example/help
+MODULE_FILES= help/advanced_help.help.ini help/ini-file.html \
+ help/translation.html help/using-advanced-help.html \
+ advanced-help-popup.tpl.php advanced_help.info \
+ advanced_help.install advanced_help.module \
+ help-icon.css help-popup.css help.css help.png \
+ help_example/help/180px-Andi_Gutmans_1.jpg \
+ help_example/help/180px-Lerdorf.jpg \
+ help_example/help/180px-PHP_Hello_World_screenshot.png \
+ help_example/help/about-php.html \
+ help_example/help/help_example.help.ini \
+ help_example/help/history.html \
+ help_example/help/security.html \
+ help_example/help/syntax.html \
+ help_example/help/usage.html \
+ help_example/help_example.info \
+ help_example/help_example.module
+DOC_FILES= LICENSE.txt
+
+.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../www/drupal5/bsd.drupal.mk"
+.include <bsd.port.post.mk>
diff -urN /var/empty/distinfo drupal6-advanced_help/distinfo
--- /var/empty/distinfo 1970-01-01 03:00:00.000000000 +0300
+++ drupal6-advanced_help/distinfo 2008-07-20 14:18:08.000000000 +0400
@@ -0,0 +1,3 @@
+MD5 (drupal/advanced_help-6.x-1.0.tar.gz) = c74ebb73a1de841f975a544ef9111ff4
+SHA256 (drupal/advanced_help-6.x-1.0.tar.gz) = 85bae0528b5b7d1555ac428c9b7f17457fd456bb8021362ba8cc5021d64c096a
+SIZE (drupal/advanced_help-6.x-1.0.tar.gz) = 65246
diff -urN /var/empty/pkg-descr drupal6-advanced_help/pkg-descr
--- /var/empty/pkg-descr 1970-01-01 03:00:00.000000000 +0300
+++ drupal6-advanced_help/pkg-descr 2008-07-20 14:17:12.000000000 +0400
@@ -0,0 +1,13 @@
+The advanced help module allows module developers to store their
+help outside the module system, in pure .html files. The files can
+be easily translated simply by copying them into the right translations
+directory. The entire system can appear in a popup or not as the
+module prefers (and by taking away access to view the popups, a
+site can force the popups to not exist).
+
+The system ties into Drupal's search system and is fully indexed,
+so the entire contents can be searched for keywords. the help files
+can be placed in a hierarchy as well, allowing for top down navigation
+of the help.
+
+WWW: http://drupal.org/project/advanced_help
--- drupal6-advanced_help.new-port.patch begins here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list