aboutsummaryrefslogtreecommitdiff
path: root/www/wacko/Makefile
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-02-26 12:53:27 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-02-26 12:53:27 +0000
commit7ebddf8bcc03da659a3246a9d7f0674964b90f46 (patch)
tree433d658ab5359f14a58676268c5fe8f3c2f4f22b /www/wacko/Makefile
parent500a2e9faa17ae0d75d7faffc2fc549e25a58074 (diff)
downloadports-7ebddf8bcc03da659a3246a9d7f0674964b90f46.tar.gz
ports-7ebddf8bcc03da659a3246a9d7f0674964b90f46.zip
Notes
Diffstat (limited to 'www/wacko/Makefile')
-rw-r--r--www/wacko/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/www/wacko/Makefile b/www/wacko/Makefile
new file mode 100644
index 000000000000..0ae5f48cb63d
--- /dev/null
+++ b/www/wacko/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: WackoWikki
+# Date created: 05.Dec 2004
+# Whom: Ivan Sviridov (sin@vimcom.net)
+# $FreeBSD$
+
+PORTNAME= wacko
+PORTVERSION= 4
+CATEGORIES= www
+MASTER_SITES= http://wackowiki.com/files/
+DISTNAME= wacko.r4
+
+MAINTAINER= sin@vimcom.net
+COMMENT= A small and fast PHP Wikki clone with 30+ languages support
+
+USE_BZIP2= yes
+# The port supports a number of variables that may be tweaked at build
+# time.
+#
+WWWDOCROOT?= www/data
+WACKOURL?= wacko
+WWWOWN?= www
+WWWGRP?= www
+#
+# End of user-configurable variables.
+CFGFILE=interwiki.conf
+# Set/override/append to variables from bsd.port.mk:
+#
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+WACKODIR= ${WWWDOCROOT}/${WACKOURL}
+NO_BUILD= yes
+USE_PHP= mysql session
+PLIST_SUB+= WACKODIR="${WACKODIR}"
+
+do-extract:
+ @ ${MKDIR} ${WRKSRC}
+ @ cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS}
+
+post-patch:
+ @ ${MV} ${WRKSRC}/${CFGFILE} ${WRKSRC}/${CFGFILE}.sample
+
+do-install:
+ @ ${MKDIR} ${PREFIX}/${WACKODIR}
+ @ ${CP} -R ${WRKSRC}/ ${PREFIX}/${WACKODIR}
+ @ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${WACKODIR}
+
+post-install:
+ @ ${ECHO_MSG} ""
+ @ ${ECHO_MSG} " GoTo: http://<your_website>/${WACKOURL}"
+ @ ${ECHO_MSG} ""
+
+.include <bsd.port.mk>