Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2005 12:31:25 GMT
From:      Gerrit Beine <tux@pinguru.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:    ports/80001: New port: www/mediawiki14 as a clone from www/mediawiki
Message-ID:  <200504161231.j3GCVPaE084733@www.freebsd.org>
Resent-Message-ID: <200504161240.j3GCeJII088052@freefall.freebsd.org>

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

>Number:         80001
>Category:       ports
>Synopsis:       New port: www/mediawiki14 as a clone from www/mediawiki
>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:   Sat Apr 16 12:40:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Gerrit Beine
>Release:        FreeBSD 5.3-RELEASE
>Organization:
pitcom GmbH
>Environment:
FreeBSD asus.site 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 12 23:43:33 CET 2004     root@asus.site:/usr/src/sys/i386/compile/ASUS  i386

>Description:
This port is a clone of www/mediawiki containing the new version 1.4.

Not all users may change to the new wiki engine, so it seems to be a good choice to hold both versions in ports tree for a while.
>How-To-Repeat:
      
>Fix:
# 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:
#
#	mediawiki14
#	mediawiki14/Makefile
#	mediawiki14/distinfo
#	mediawiki14/pkg-descr
#	mediawiki14/pkg-message
#
echo c - mediawiki14
mkdir -p mediawiki14 > /dev/null 2>&1
echo x - mediawiki14/Makefile
sed 's/^X//' >mediawiki14/Makefile << 'END-of-mediawiki14/Makefile'
X# New ports collection makefile for:	www/mediawiki
X# Date created:				April 16th, 2005
X# Whom:	      				Gerrit Beine <tux@pinguru.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mediawiki
XPORTVERSION=	1.4.0
XCATEGORIES=	www
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	wikipedia
X
XMAINTAINER=	tux@pinguru.net
XCOMMENT=	The wiki enginge used by Wikipedia
X
XCONFLICTS=	mediawiki-1.3.*
X
XNO_BUILD=	yes
XUSE_PHP=	mysql session zlib
XWANT_PHP_WEB=	yes
XMEDIAWIKIDIR?=	www/data-dist/mediawiki
X
Xdo-install:
X	-${MKDIR} ${PREFIX}/${MEDIAWIKIDIR}
X	@${CP} -r ${WRKSRC}/ ${PREFIX}/${MEDIAWIKIDIR}
X	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MEDIAWIKIDIR}
X
Xpost-install:
X	@${FIND} ${WRKSRC}/${file} -not -type d \
X	  | ${SED} -ne 's,^${WRKSRC},${MEDIAWIKIDIR},p' >> ${TMPPLIST}
X	@${FIND} -d ${WRKSRC}/${file} -type d \
X	  | ${SED} -ne 's,^${WRKSRC},@dirrm ${MEDIAWIKIDIR},p' >> ${TMPPLIST}
X	@${SED} -e 's|%%MEDIAWIKIDIR%%|${PREFIX}/${MEDIAWIKIDIR}|' ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-mediawiki14/Makefile
echo x - mediawiki14/distinfo
sed 's/^X//' >mediawiki14/distinfo << 'END-of-mediawiki14/distinfo'
XMD5 (mediawiki-1.4.0.tar.gz) = d1bbfe6db13c902ee12188f8fbe18f35
XSIZE (mediawiki-1.4.0.tar.gz) = 1874413
END-of-mediawiki14/distinfo
echo x - mediawiki14/pkg-descr
sed 's/^X//' >mediawiki14/pkg-descr << 'END-of-mediawiki14/pkg-descr'
XMediaWiki is the collaborative editing software that runs Wikipedia,
Xthe free encyclopedia, and other projects.
XIt's designed to handle a large number of users and pages without imposing
Xtoo rigid a structure or workflow.
X
XWWW: http://www.mediawiki.org/
END-of-mediawiki14/pkg-descr
echo x - mediawiki14/pkg-message
sed 's/^X//' >mediawiki14/pkg-message << 'END-of-mediawiki14/pkg-message'
X
X    **** NOTE ****
XRemember to check
X
X%%MEDIAWIKIDIR%%/INSTALL
X
Xfor details
END-of-mediawiki14/pkg-message
exit


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



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