aboutsummaryrefslogtreecommitdiffstats
path: root/www/mediawiki18
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2005-02-14 14:34:06 +0800
committerclsung <clsung@FreeBSD.org>2005-02-14 14:34:06 +0800
commit1ef0c899701b3818aa18bdd892e33a8d832fe6de (patch)
tree3cee969f67d6a12d2889b1c66952f2c8ecfc3dd0 /www/mediawiki18
parentd34648c4532ea8c68e2d4ebe855bbde2a71ddff4 (diff)
downloadfreebsd-ports-gnome-1ef0c899701b3818aa18bdd892e33a8d832fe6de.tar.gz
freebsd-ports-gnome-1ef0c899701b3818aa18bdd892e33a8d832fe6de.tar.zst
freebsd-ports-gnome-1ef0c899701b3818aa18bdd892e33a8d832fe6de.zip
- 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/ PR: ports/76957 Submitted by: Gerrit Beine <tux AT pinguru dot net>
Diffstat (limited to 'www/mediawiki18')
-rw-r--r--www/mediawiki18/Makefile34
-rw-r--r--www/mediawiki18/distinfo2
-rw-r--r--www/mediawiki18/pkg-descr6
-rw-r--r--www/mediawiki18/pkg-message7
4 files changed, 49 insertions, 0 deletions
diff --git a/www/mediawiki18/Makefile b/www/mediawiki18/Makefile
new file mode 100644
index 000000000000..6df109ab44eb
--- /dev/null
+++ b/www/mediawiki18/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/mediawiki18/distinfo b/www/mediawiki18/distinfo
new file mode 100644
index 000000000000..544b2aea7da8
--- /dev/null
+++ b/www/mediawiki18/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/mediawiki18/pkg-descr b/www/mediawiki18/pkg-descr
new file mode 100644
index 000000000000..dac83f83ccda
--- /dev/null
+++ b/www/mediawiki18/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/mediawiki18/pkg-message b/www/mediawiki18/pkg-message
new file mode 100644
index 000000000000..d991a956ce47
--- /dev/null
+++ b/www/mediawiki18/pkg-message
@@ -0,0 +1,7 @@
+
+ **** NOTE ****
+Remember to check
+
+%%MEDIAWIKIDIR%%/INSTALL
+
+for details