aboutsummaryrefslogtreecommitdiff
path: root/www/mediawiki17
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2005-02-14 06:34:06 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2005-02-14 06:34:06 +0000
commit37c9e825b1cec0a7bdb33c248720ea326400bc6e (patch)
treec2caf188909e542d94db7660929a731486e564d7 /www/mediawiki17
parentbe9fbfd6ab5a0247e76e25983e6d2478cee16f6a (diff)
downloadports-37c9e825b1cec0a7bdb33c248720ea326400bc6e.tar.gz
ports-37c9e825b1cec0a7bdb33c248720ea326400bc6e.zip
Notes
Diffstat (limited to 'www/mediawiki17')
-rw-r--r--www/mediawiki17/Makefile34
-rw-r--r--www/mediawiki17/distinfo2
-rw-r--r--www/mediawiki17/pkg-descr6
-rw-r--r--www/mediawiki17/pkg-message7
4 files changed, 49 insertions, 0 deletions
diff --git a/www/mediawiki17/Makefile b/www/mediawiki17/Makefile
new file mode 100644
index 000000000000..6df109ab44eb
--- /dev/null
+++ b/www/mediawiki17/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: www/mediawiki
+# Date created: February 1st 2005
+# Whom: Gerrit Beine <tux@pinguru.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mediawiki
+PORTVERSION= 1.3.10
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= wikipedia
+
+MAINTAINER= tux@pinguru.net
+COMMENT= The wiki enginge used by Wikipedia
+
+NO_BUILD= yes
+USE_PHP= mysql
+WANT_PHP_WEB= yes
+MEDIAWIKIDIR?= www/data-dist/mediawiki
+
+do-install:
+ -${MKDIR} ${PREFIX}/${MEDIAWIKIDIR}
+ @${CP} -r ${WRKSRC}/ ${PREFIX}/${MEDIAWIKIDIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MEDIAWIKIDIR}
+
+post-install:
+ @${FIND} ${WRKSRC}/${file} -not -type d \
+ | ${SED} -ne 's,^${WRKSRC},${MEDIAWIKIDIR},p' >> ${TMPPLIST}
+ @${FIND} -d ${WRKSRC}/${file} -type d \
+ | ${SED} -ne 's,^${WRKSRC},@dirrm ${MEDIAWIKIDIR},p' >> ${TMPPLIST}
+ @${SED} -e 's|%%MEDIAWIKIDIR%%|${PREFIX}/${MEDIAWIKIDIR}|' ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/mediawiki17/distinfo b/www/mediawiki17/distinfo
new file mode 100644
index 000000000000..544b2aea7da8
--- /dev/null
+++ b/www/mediawiki17/distinfo
@@ -0,0 +1,2 @@
+MD5 (mediawiki-1.3.10.tar.gz) = 9db48cb23633785fbcd7e8024f073c9c
+SIZE (mediawiki-1.3.10.tar.gz) = 1576430
diff --git a/www/mediawiki17/pkg-descr b/www/mediawiki17/pkg-descr
new file mode 100644
index 000000000000..dac83f83ccda
--- /dev/null
+++ b/www/mediawiki17/pkg-descr
@@ -0,0 +1,6 @@
+MediaWiki is the collaborative editing software that runs Wikipedia,
+the free encyclopedia, and other projects.
+It's designed to handle a large number of users and pages without imposing
+too rigid a structure or workflow.
+
+WWW: http://www.mediawiki.org/
diff --git a/www/mediawiki17/pkg-message b/www/mediawiki17/pkg-message
new file mode 100644
index 000000000000..d991a956ce47
--- /dev/null
+++ b/www/mediawiki17/pkg-message
@@ -0,0 +1,7 @@
+
+ **** NOTE ****
+Remember to check
+
+%%MEDIAWIKIDIR%%/INSTALL
+
+for details