ports/116865: New port: french/pluxml-theme-snowxml - a theme for pluxml
Philippe Audeoud
jadawin at tuxaco.net
Wed Oct 3 11:20:02 UTC 2007
>Number: 116865
>Category: ports
>Synopsis: New port: french/pluxml-theme-snowxml - a theme for pluxml
>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: Wed Oct 03 11:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Philippe Audeoud
>Release: FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD huppa.tuxaco.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue Mar 20 16:05:42 CET 2007 root@:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Here is the .shar to add pluxml-theme-snowxml to the port tree (french category)
>How-To-Repeat:
>Fix:
--- shar-pluxml-theme-snowxml-1.sh begins here ---
# 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:
#
# /usr/ports/french/pluxml-theme-snowxml/
# /usr/ports/french/pluxml-theme-snowxml/files
# /usr/ports/french/pluxml-theme-snowxml/files/pkg-message.in
# /usr/ports/french/pluxml-theme-snowxml/files/patch-template.php
# /usr/ports/french/pluxml-theme-snowxml/Makefile
# /usr/ports/french/pluxml-theme-snowxml/distinfo
# /usr/ports/french/pluxml-theme-snowxml/pkg-descr
# /usr/ports/french/pluxml-theme-snowxml/pkg-plist
#
echo c - /usr/ports/french/pluxml-theme-snowxml/
mkdir -p /usr/ports/french/pluxml-theme-snowxml/ > /dev/null 2>&1
echo c - /usr/ports/french/pluxml-theme-snowxml/files
mkdir -p /usr/ports/french/pluxml-theme-snowxml/files > /dev/null 2>&1
echo x - /usr/ports/french/pluxml-theme-snowxml/files/pkg-message.in
sed 's/^X//' >/usr/ports/french/pluxml-theme-snowxml/files/pkg-message.in << 'END-of-/usr/ports/french/pluxml-theme-snowxml/files/pkg-message.in'
X---------------------------------------------------------------------------
X
XBrowse http://your.host.tld/%%PORTNAME%%/ and go to your administration
Xinterface to configure your blog.
X
X---------------------------------------------------------------------------
X
END-of-/usr/ports/french/pluxml-theme-snowxml/files/pkg-message.in
echo x - /usr/ports/french/pluxml-theme-snowxml/files/patch-template.php
sed 's/^X//' >/usr/ports/french/pluxml-theme-snowxml/files/patch-template.php << 'END-of-/usr/ports/french/pluxml-theme-snowxml/files/patch-template.php'
X--- work/snowxml/template.php Tue Nov 7 19:56:05 2006
X+++ template.php Wed Oct 3 10:35:35 2007
X@@ -71,7 +71,11 @@
X </ul>
X </div>
X
X- <?php include('pluxml/plugins/skinswitcher_form.php'); ?>
X+ <?php
X+ if(file_exists('pluxml/plugins/skinswitcher_form.php')) {
X+ include('pluxml/plugins/skinswitcher_form.php');
X+ }
X+ ?>
X
X </div>
X
END-of-/usr/ports/french/pluxml-theme-snowxml/files/patch-template.php
echo x - /usr/ports/french/pluxml-theme-snowxml/Makefile
sed 's/^X//' >/usr/ports/french/pluxml-theme-snowxml/Makefile << 'END-of-/usr/ports/french/pluxml-theme-snowxml/Makefile'
X# New ports collection makefile for: pluxml-theme-snowxml
X# Date created: 27 September 2007
X# Whom: Philippe Audeoud <jadawin at tuxaco.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= pluxml
XPORTVERSION= 0.1
XCATEGORIES= french www
XMASTER_SITES= http://skins.pluxml.org/download/
XPKGNAMESUFFIX= -theme-snowxml
XDISTNAME= ${PORTNAME}.${PKGNAMESUFFIX:C/-(.*)-(.*)/\2/}
X
XMAINTAINER= jadawin at tuxaco.net
XCOMMENT= Theme for pluxml > 0.3.0
X
XRUN_DEPENDS= ${WWWDIR}/pluxml:${PORTSDIR}/french/pluxml
X
XNO_BUILD= yes
XUSE_ZIP= yes
X
XSUB_FILES= pkg-message
XSUB_LIST= PORTNAME=${PORTNAME}
XPLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
X
XWRKSRC= ${WRKDIR}/${PKGNAMESUFFIX:C/-(.*)-(.*)/\2/}
X
Xdo-install:
X ${MKDIR} ${WWWDIR}/pluxml/templates/${PKGNAMESUFFIX:C/-(.*)-(.*)/\2/}
X ${CP} -R ${WRKDIR}/${PKGNAMESUFFIX:C/-(.*)-(.*)/\2/} \
X ${WWWDIR}/pluxml/templates/
X ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
X ${WWWDIR}/pluxml/templates/${PKGNAMESUFFIX:C/-(.*)-(.*)/\2/}
X
Xpost-install:
X @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
X
X.include <bsd.port.mk>
END-of-/usr/ports/french/pluxml-theme-snowxml/Makefile
echo x - /usr/ports/french/pluxml-theme-snowxml/distinfo
sed 's/^X//' >/usr/ports/french/pluxml-theme-snowxml/distinfo << 'END-of-/usr/ports/french/pluxml-theme-snowxml/distinfo'
XMD5 (pluxml.snowxml.zip) = e39d48637b66430335493e8aabb74eff
XSHA256 (pluxml.snowxml.zip) = 9e23fbe1e28dee0bbf80143942eaab73eca8d8036b4d72edcdcfd40a64a79f22
XSIZE (pluxml.snowxml.zip) = 57191
END-of-/usr/ports/french/pluxml-theme-snowxml/distinfo
echo x - /usr/ports/french/pluxml-theme-snowxml/pkg-descr
sed 's/^X//' >/usr/ports/french/pluxml-theme-snowxml/pkg-descr << 'END-of-/usr/ports/french/pluxml-theme-snowxml/pkg-descr'
XA theme for pluxml.
X
XWWW: http://skins.pluxml.org/
END-of-/usr/ports/french/pluxml-theme-snowxml/pkg-descr
echo x - /usr/ports/french/pluxml-theme-snowxml/pkg-plist
sed 's/^X//' >/usr/ports/french/pluxml-theme-snowxml/pkg-plist << 'END-of-/usr/ports/french/pluxml-theme-snowxml/pkg-plist'
X%%WWWDIR%%/pluxml/templates/snowxml/img/fond.jpg
X%%WWWDIR%%/pluxml/templates/snowxml/img/header.jpg
X%%WWWDIR%%/pluxml/templates/snowxml/style.css
X%%WWWDIR%%/pluxml/templates/snowxml/template.php
X%%WWWDIR%%/pluxml/templates/snowxml/template.php.orig
X at dirrmtry %%WWWDIR%%/pluxml/templates/snowxml/img
X at dirrm %%WWWDIR%%/pluxml/templates/snowxml
END-of-/usr/ports/french/pluxml-theme-snowxml/pkg-plist
exit
--- shar-pluxml-theme-snowxml-1.sh ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list