summaryrefslogtreecommitdiffstats
path: root/www/mediawiki19
diff options
context:
space:
mode:
Diffstat (limited to 'www/mediawiki19')
-rw-r--r--www/mediawiki19/Makefile34
-rw-r--r--www/mediawiki19/distinfo2
-rw-r--r--www/mediawiki19/pkg-descr6
-rw-r--r--www/mediawiki19/pkg-message7
4 files changed, 49 insertions, 0 deletions
diff --git a/www/mediawiki19/Makefile b/www/mediawiki19/Makefile
new file mode 100644
index 0000000..6df109a
--- /dev/null
+++ b/www/mediawiki19/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/mediawiki19/distinfo b/www/mediawiki19/distinfo
new file mode 100644
index 0000000..544b2ae
--- /dev/null
+++ b/www/mediawiki19/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/mediawiki19/pkg-descr b/www/mediawiki19/pkg-descr
new file mode 100644
index 0000000..dac83f8
--- /dev/null
+++ b/www/mediawiki19/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/mediawiki19/pkg-message b/www/mediawiki19/pkg-message
new file mode 100644
index 0000000..d991a95
--- /dev/null
+++ b/www/mediawiki19/pkg-message
@@ -0,0 +1,7 @@
+
+ **** NOTE ****
+Remember to check
+
+%%MEDIAWIKIDIR%%/INSTALL
+
+for details
OpenPOWER on IntegriCloud