aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-10-10 22:00:53 +0800
committermiwi <miwi@FreeBSD.org>2007-10-10 22:00:53 +0800
commitbb3b27ab9e699fbd71631a95d712919e22fbeb7e (patch)
treeccc4aa34d7a2347e6e746bb91f79173ba8e214e2
parent8e89600a165c53947d75152b1a51633666b1ebb2 (diff)
downloadfreebsd-ports-graphics-bb3b27ab9e699fbd71631a95d712919e22fbeb7e.tar.gz
freebsd-ports-graphics-bb3b27ab9e699fbd71631a95d712919e22fbeb7e.tar.zst
freebsd-ports-graphics-bb3b27ab9e699fbd71631a95d712919e22fbeb7e.zip
A theme for pluxml.
WWW: http://skins.pluxml.org/ PR: ports/116865 Submitted by: Philippe Audeoud <jadawin at tuxaco.net>
-rw-r--r--french/Makefile1
-rw-r--r--french/pluxml-theme-snowxml/Makefile38
-rw-r--r--french/pluxml-theme-snowxml/distinfo3
-rw-r--r--french/pluxml-theme-snowxml/files/patch-template.php15
-rw-r--r--french/pluxml-theme-snowxml/files/pkg-message.in7
-rw-r--r--french/pluxml-theme-snowxml/pkg-descr3
-rw-r--r--french/pluxml-theme-snowxml/pkg-plist7
7 files changed, 74 insertions, 0 deletions
diff --git a/french/Makefile b/french/Makefile
index f74622ea9b7..a71d66facdd 100644
--- a/french/Makefile
+++ b/french/Makefile
@@ -26,6 +26,7 @@
SUBDIR += plgrenouille
SUBDIR += pluxml
SUBDIR += pluxml-theme-bridge
+ SUBDIR += pluxml-theme-snowxml
SUBDIR += staroffice52
SUBDIR += verbiste
SUBDIR += xtel
diff --git a/french/pluxml-theme-snowxml/Makefile b/french/pluxml-theme-snowxml/Makefile
new file mode 100644
index 00000000000..74444c1378a
--- /dev/null
+++ b/french/pluxml-theme-snowxml/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: pluxml-theme-snowxml
+# Date created: 27 September 2007
+# Whom: Philippe Audeoud <jadawin@tuxaco.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pluxml
+PORTVERSION= 0.1
+CATEGORIES= french www
+MASTER_SITES= http://jadawin.tuxaco.net/
+PKGNAMESUFFIX= -theme-snowxml
+DISTNAME= ${PORTNAME}.${PKGNAMESUFFIX:C/-(.*)-(.*)/\2/}
+
+MAINTAINER= jadawin@tuxaco.net
+COMMENT= Theme for pluxml > 0.3.0
+
+RUN_DEPENDS= ${WWWDIR}/pluxml:${PORTSDIR}/french/pluxml
+
+NO_BUILD= yes
+
+SUB_FILES= pkg-message
+SUB_LIST= PORTNAME=${PORTNAME}
+PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
+
+WRKSRC= ${WRKDIR}/${PKGNAMESUFFIX:C/-(.*)-(.*)/\2/}
+
+do-install:
+ ${MKDIR} ${WWWDIR}/pluxml/templates/${PKGNAMESUFFIX:C/-(.*)-(.*)/\2/}
+ ${CP} -R ${WRKDIR}/${PKGNAMESUFFIX:C/-(.*)-(.*)/\2/} \
+ ${WWWDIR}/pluxml/templates/
+ ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
+ ${WWWDIR}/pluxml/templates/${PKGNAMESUFFIX:C/-(.*)-(.*)/\2/}
+
+post-install:
+ @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
+
+.include <bsd.port.mk>
diff --git a/french/pluxml-theme-snowxml/distinfo b/french/pluxml-theme-snowxml/distinfo
new file mode 100644
index 00000000000..f34993fe68e
--- /dev/null
+++ b/french/pluxml-theme-snowxml/distinfo
@@ -0,0 +1,3 @@
+MD5 (pluxml.snowxml.tar.gz) = 4f72e5bb6bc46a9e342668afad553a1e
+SHA256 (pluxml.snowxml.tar.gz) = 1c1a321ef4ae4e0b5f053df928ef3443fa18d209b615a4557a8a73f06254edea
+SIZE (pluxml.snowxml.tar.gz) = 57411
diff --git a/french/pluxml-theme-snowxml/files/patch-template.php b/french/pluxml-theme-snowxml/files/patch-template.php
new file mode 100644
index 00000000000..aa68a6e92c9
--- /dev/null
+++ b/french/pluxml-theme-snowxml/files/patch-template.php
@@ -0,0 +1,15 @@
+--- work/snowxml/template.php Tue Nov 7 19:56:05 2006
++++ template.php Wed Oct 3 10:35:35 2007
+@@ -71,7 +71,11 @@
+ </ul>
+ </div>
+
+- <?php include('pluxml/plugins/skinswitcher_form.php'); ?>
++ <?php
++ if(file_exists('pluxml/plugins/skinswitcher_form.php')) {
++ include('pluxml/plugins/skinswitcher_form.php');
++ }
++ ?>
+
+ </div>
+
diff --git a/french/pluxml-theme-snowxml/files/pkg-message.in b/french/pluxml-theme-snowxml/files/pkg-message.in
new file mode 100644
index 00000000000..360c9323dcd
--- /dev/null
+++ b/french/pluxml-theme-snowxml/files/pkg-message.in
@@ -0,0 +1,7 @@
+---------------------------------------------------------------------------
+
+Browse http://your.host.tld/%%PORTNAME%%/ and go to your administration
+interface to configure your blog.
+
+---------------------------------------------------------------------------
+
diff --git a/french/pluxml-theme-snowxml/pkg-descr b/french/pluxml-theme-snowxml/pkg-descr
new file mode 100644
index 00000000000..fed8e02732a
--- /dev/null
+++ b/french/pluxml-theme-snowxml/pkg-descr
@@ -0,0 +1,3 @@
+A theme for pluxml.
+
+WWW: http://skins.pluxml.org/
diff --git a/french/pluxml-theme-snowxml/pkg-plist b/french/pluxml-theme-snowxml/pkg-plist
new file mode 100644
index 00000000000..65a39edff10
--- /dev/null
+++ b/french/pluxml-theme-snowxml/pkg-plist
@@ -0,0 +1,7 @@
+%%WWWDIR%%/pluxml/templates/snowxml/img/fond.jpg
+%%WWWDIR%%/pluxml/templates/snowxml/img/header.jpg
+%%WWWDIR%%/pluxml/templates/snowxml/style.css
+%%WWWDIR%%/pluxml/templates/snowxml/template.php
+%%WWWDIR%%/pluxml/templates/snowxml/template.php.orig
+@dirrmtry %%WWWDIR%%/pluxml/templates/snowxml/img
+@dirrm %%WWWDIR%%/pluxml/templates/snowxml