FreeBSD Bugzilla – Attachment 94733 Details for
Bug 132947
[new ports]: devel/devel, www/geshifilter: GeSHi core and Drupal highlighter module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 4.46 KB, created by
Eygene Ryabinkin
on 2009-03-22 21:00:13 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Eygene Ryabinkin
Created:
2009-03-22 21:00:13 UTC
Size:
4.46 KB
patch
obsolete
># 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: ># ># drupal6-geshifilter ># drupal6-geshifilter/Makefile ># drupal6-geshifilter/distinfo ># drupal6-geshifilter/pkg-descr ># drupal6-geshifilter/files ># drupal6-geshifilter/files/pkg-message.in ># drupal6-geshifilter/files/patch-default-geshi-path ># >echo c - drupal6-geshifilter >mkdir -p drupal6-geshifilter > /dev/null 2>&1 >echo x - drupal6-geshifilter/Makefile >sed 's/^X//' >drupal6-geshifilter/Makefile << '41249746808c7446f85aa8dc390425e6' >X# New ports collection makefile for: drupal6-geshifilter >X# Date created: Mar 20 2009 >X# Whom: Eygene Ryabinkin <rea-fbsd@codelabs.ru> >X# >X# $FreeBSD$ >X >XPORTNAME= geshifilter >XDISTVERSION= 6.x-1.2 >XCATEGORIES= www >XMASTER_SITES= http://ftp.drupal.org/files/projects/ >X >XMAINTAINER= rea-fbsd@codelabs.ru >XCOMMENT= Drupal 6 module for syntax highlighting >X >XRUN_DEPENDS= ${LOCALBASE}/lib/php/geshi/geshi.php:${PORTSDIR}/devel/php5-geshi >X >XPKGMESSAGE= ${WRKDIR}/pkg-message >XSUB_FILES= pkg-message >X >XDRUPAL6_MODULE= yes >XMODULE_DIRS= geshi-extra tests translations >XMODULE_FILES= geshi-extra/drupal5.php geshi-extra/drupal6.php \ >X geshifilter.admin.inc geshifilter.conflicts.inc \ >X geshifilter.css geshifilter.filtertips.inc \ >X geshifilter.inc geshifilter.info geshifilter.install \ >X geshifilter.module geshifilter.pages.inc \ >X geshinode.info geshinode.install geshinode.module \ >X tests/geshifilter.admin.test tests/geshifilter.pages.test \ >X translations/de.po translations/ja.po \ >X translations/geshifilter.pot translations/sk.po >X >XDOC_DIRS= geshi-extra >XDOC_FILES= LICENSE.txt README.txt geshi-extra/README >X >Xpost-patch: >X @${REINPLACE_CMD} -e's|%%LOCALBASE%%|${LOCALBASE}|g' \ >X ${WRKSRC}/geshifilter.inc >X >Xpost-install: >X @${ECHO} >X @${CAT} ${PKGMESSAGE} >X @${ECHO} >X >X.include <bsd.port.pre.mk> >X.include "${.CURDIR}/../../www/drupal5/bsd.drupal.mk" >X.include <bsd.port.post.mk> >41249746808c7446f85aa8dc390425e6 >echo x - drupal6-geshifilter/distinfo >sed 's/^X//' >drupal6-geshifilter/distinfo << 'f2497756066baacb7e7685759f8bbdff' >XMD5 (drupal/geshifilter-6.x-1.2.tar.gz) = 0424506496275a2fc2d5788cdee79507 >XSHA256 (drupal/geshifilter-6.x-1.2.tar.gz) = f5c3e1ea78a4e458c10fbec49288e238a240a08a0592339557174d5f958b7a18 >XSIZE (drupal/geshifilter-6.x-1.2.tar.gz) = 82024 >f2497756066baacb7e7685759f8bbdff >echo x - drupal6-geshifilter/pkg-descr >sed 's/^X//' >drupal6-geshifilter/pkg-descr << 'f33bbd39cbb84f012858f638238851b0' >XThe GeShi Filter module provides a filter for source code syntax >Xhighlighting for a wide range of languages. >X >XWWW: http://drupal.org/project/geshifilter >f33bbd39cbb84f012858f638238851b0 >echo c - drupal6-geshifilter/files >mkdir -p drupal6-geshifilter/files > /dev/null 2>&1 >echo x - drupal6-geshifilter/files/pkg-message.in >sed 's/^X//' >drupal6-geshifilter/files/pkg-message.in << '6c1713c353495a8dffa5d4134399eebf' >XSuper-quick HOW-TO for GeSHi filter >X=================================== >X >XTo use GeSHi highlighting features in the Drupal documents, >Xdo the following: >X >X 1. enable GeSHi modules inside Drupal; >X 2. configure GeSHi using "Site configuration" -> "GeSHi Filter" >X link inside administrative menu; default GeSHi library path is >X %%LOCALBASE%%/lib/php/geshi >X 3. enable GeSHi filtering for the input formats you choose to >X handle syntax highlighting; menu "Site configuration" -> >X "Input formats" will help you to do this; >X 4. write some content and test GeSHi functionality. >X >XTo create documents fully consisting of source code just create >Xnew content of type "Source code node". >X >XGood luck! >6c1713c353495a8dffa5d4134399eebf >echo x - drupal6-geshifilter/files/patch-default-geshi-path >sed 's/^X//' >drupal6-geshifilter/files/patch-default-geshi-path << '17ed75267ef0db777445ec47c212c696' >XThis patch sets the default location for the GeSHi library >Xto match FreeBSD's GeSHi port layout. >X >X--- geshifilter.inc.orig 2009-03-21 14:40:30.000000000 +0300 >X+++ geshifilter.inc 2009-03-21 14:40:54.000000000 +0300 >X@@ -7,7 +7,7 @@ >X */ >X >X function _geshifilter_get_geshi_dir() { >X- return variable_get('geshifilter_geshi_dir', drupal_get_path('module', 'geshifilter') .'/geshi'); >X+ return variable_get('geshifilter_geshi_dir', '%%LOCALBASE%%/lib/php/geshi'); >X } >X >X /** >17ed75267ef0db777445ec47c212c696 >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 132947
: 94733