Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2007 16:49:02 +0200 (CEST)
From:      Philippe Audeoud <jadawin@tuxaco.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/115382: [new port] pluxml
Message-ID:  <20070810144902.19F8AC668@huppa.tuxaco.net>
Resent-Message-ID: <200708101510.l7AFA3NW017543@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         115382
>Category:       ports
>Synopsis:       [new port] 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:   Fri Aug 10 15:10:03 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:
I have created a basic port for pluxml
>How-To-Repeat:
	
>Fix:


--- shar-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:
#
#	Makefile
#	distinfo
#	pkg-deinstall
#	pkg-descr
#	pkg-plist
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for:   pluxml
X# Date created:                7 August 2007
X# Whom:                        Philippe Audeoud <jadawin@tuxaco.net>
X# $FreeBSD$
X
XPORTNAME=	pluxml
XPORTVERSION=	0.3.1
XCATEGORIES=	french www
XMASTER_SITES=	http://pluxml.org/download/
XDISTNAME= 	${PORTNAME}${PORTVERSION}
X
XMAINTAINER= 	jadawin@tuxaco.net
XCOMMENT=	Small weblog in php and xml
X
XRUN_DEPENDS=	php:${PORTSDIR}/lang/php5
X
XPKGDEINSTALL=   ${WRKSRC}/pkg-deinstall
X
XNO_BUILD=	yes
X
XFILES_SUB=	WWWDIR=${WWWDIR}
X
Xdo-install:
X	@ ${SED} ${FILES_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
X		${PKGDIR}/pkg-deinstall > ${PKGDEINSTALL}
X	${MKDIR} ${WWWDIR}
X.for  data in images pluxml version
X	${CP} -R ${WRKSRC}/${data} ${WWWDIR}
X.endfor
X	${CP} ${WRKSRC}/*.php ${WWWDIR}
X	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
X
Xpost-install:
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_MAN} ${WRKSRC}/COPYING ${DOCSDIR}
X
X.include <bsd.port.mk>
END-of-Makefile
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XMD5 (pluxml0.3.1.tar.gz) = 2c8194441d1de4944c3713daa11e0613
XSHA256 (pluxml0.3.1.tar.gz) = 4eae6ccde259d4df41cb1430ac76e7dcc327bb90a9e20db0a79c368f496dea6d
XSIZE (pluxml0.3.1.tar.gz) = 27903
END-of-distinfo
echo x - pkg-deinstall
sed 's/^X//' >pkg-deinstall << 'END-of-pkg-deinstall'
X#! /bin/sh
X# $FreeBSD$
X#
X
XPATH=/bin:/usr/bin:/usr/sbin
X
Xif [ "$2" != "POST-DEINSTALL" ]; then
X    exit 0
Xfi
X        echo "You may delete '%%WWWDIR%%' if you want to really delete your blog."
END-of-pkg-deinstall
echo x - pkg-descr
sed 's/^X//' >pkg-descr << 'END-of-pkg-descr'
XPluxml is a tiny tool to generate blog based on php and xml.
XFeature:
X* Rss
X* categories
X* can be used as a photoblog
X
XWWW: http://pluxml.org/
END-of-pkg-descr
echo x - pkg-plist
sed 's/^X//' >pkg-plist << 'END-of-pkg-plist'
X%%DOCSDIR%%/COPYING
X%%WWWDIR%%/index.php
X%%WWWDIR%%/install.php
X%%WWWDIR%%/maj.php
X%%WWWDIR%%/images/index.htm
X%%WWWDIR%%/pluxml/atom.php
X%%WWWDIR%%/pluxml/rss.php
X%%WWWDIR%%/pluxml/admin/admin.css
X%%WWWDIR%%/pluxml/admin/articles.php
X%%WWWDIR%%/pluxml/admin/auth.php
X%%WWWDIR%%/pluxml/admin/categories.php
X%%WWWDIR%%/pluxml/admin/foot.php
X%%WWWDIR%%/pluxml/admin/images.php
X%%WWWDIR%%/pluxml/admin/include.php
X%%WWWDIR%%/pluxml/admin/index.php
X%%WWWDIR%%/pluxml/admin/informations.php
X%%WWWDIR%%/pluxml/admin/parametres.php
X%%WWWDIR%%/pluxml/admin/top.php
X%%WWWDIR%%/pluxml/admin/img/icon.png
X%%WWWDIR%%/pluxml/admin/img/puce.png
X%%WWWDIR%%/pluxml/lib/class.admin.php
X%%WWWDIR%%/pluxml/lib/class.pluxml.php
X%%WWWDIR%%/pluxml/lib/functions.js
X%%WWWDIR%%/pluxml/lib/functions.php
X%%WWWDIR%%/pluxml/lib/lib.util.php
X%%WWWDIR%%/pluxml/templates/default/style.css
X%%WWWDIR%%/pluxml/templates/default/template.php
X%%WWWDIR%%/pluxml/templates/default/img/fond.jpg
X%%WWWDIR%%/pluxml/templates/default/img/header.jpg
X@dirrm %%WWWDIR%%/pluxml/templates/default/img
X@dirrm %%WWWDIR%%/pluxml/templates/default
X@dirrm %%WWWDIR%%/pluxml/templates
END-of-pkg-plist
exit
--- shar-1.sh ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070810144902.19F8AC668>