Date: Mon, 1 Dec 2003 03:44:53 +0100 From: Melvyn Sopacua <freebsd-questions@webteckies.org> To: Gary Kline <kline@thought.org> Cc: FreeBSD-questions <questions@freebsd.org> Subject: Re: php4... Message-ID: <200312010344.54374.freebsd-questions@webteckies.org> In-Reply-To: <20031201012939.GC31659@tao.thought.org> References: <20031130050122.GA50513@tao.thought.org> <200311302253.52222.freebsd-questions@webteckies.org> <20031201012939.GC31659@tao.thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] [ inlined since it was stripped ] On Monday 01 December 2003 02:29, Gary Kline wrote: > Yipes! No wonder no FUD port has been done! .... You mean this? (I'm still trying to improve this, but need a hack on bsd.php.mk to make it more user-friendly). Oh - just create /usr/ports/www/fudforum, cd into it and sh /path/to/ fudforum.sh. -- Melvyn ======================================================= FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 root@sarevok.webteckies.org:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 ======================================================= # 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: # # Makefile # distinfo # pkg-descr # pkg-message # pkg-plist # echo x - Makefile sed 's/^X//' >Makefile << 'END-of-Makefile' X# New ports collection makefile for: FUDForum X# Date created: 30 Nov 2003 X# Whom: Melvyn Sopacua X# X# $Id$ X# $FreeBSD$ X# X XPORTNAME= fudforum XPORTVERSION= 2.6.0.r8 XCATEGORIES= www XMASTER_SITES= http://fud.prohost.org/download/ X# http://fud.prohost.org/download/FUDforum_zl_2-6-0RC8.tar.bz2 XDISTNAME= FUDforum_zl_${PORTVERSION:S/.r/RC/:S/./-/g} X XMAINTAINER= ports@webteckies.org XCOMMENT= A robust, fully customizable and extremely scalable forums package X XWRKSRC= ${WRKDIR}/FUDforum2 XNO_BUILD= yes XUSE_BZIP2= yes X XFUDDIR?= www/data-dist/${PORTNAME} XPLIST_SUB+= FUDDIR=${FUDDIR} XDB_TYPE?= mysql4 X X.if ${DB_TYPE} == "mysql4" XLIB_DEPENDS+= mysqlclient.12:${PORTSDIR}/databases/mysql40-client X.else X.if ${DB_TYPE} == "mysql3" XLIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client X.else X.if ${DB_TYPE} == "pgsql" XLIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql-client X.endif X.endif X.endif XWANT_PHP_CLI= yes XWANT_PHP_WEB= yes X XFUDDOCS= COPYING CREDITS README X X.include <bsd.port.pre.mk> X.include "${.CURDIR}/../../lang/php4/bsd.php.mk" X Xpre-extract: X @${ECHO_MSG} "You can select the Database to use by defining DB_TYPE" X @${ECHO_MSG} "Default: mysql4" X @${ECHO_MSG} "" X @${ECHO_MSG} "You can select the installation directory by setting" X @${ECHO_MSG} "FUDDIR relative to ${PREFIX}" X @${ECHO_MSG} "Default: www/data-dist/${PORTNAME}" X @${ECHO_MSG} "" X Xdo-install: X @${MKDIR} ${PREFIX}/${FUDDIR} X ${CP} ${WRKSRC}/*.php ${PREFIX}/${FUDDIR} X.if !defined(NOPORTDOCS) X @${ECHO_MSG} "Installing Documentation into ${DOCSDIR}" X @${ECHO_MSG} "" X @${MKDIR} ${DOCSDIR} X.for f in ${FUDDOCS} X @${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}/ X.endfor X.endif X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> END-of-Makefile echo x - distinfo sed 's/^X//' >distinfo << 'END-of-distinfo' XMD5 (FUDforum_zl_2-6-0RC8.tar.bz2) = e5543f56b961c840c2de9abdc59ef714 END-of-distinfo echo x - pkg-descr sed 's/^X//' >pkg-descr << 'END-of-pkg-descr' XFUDforum is a highly customizable forum package, with a large feature set. The Xeasy to use administration control panel allows the administrator to easily Xconfigure and control the many features available. The forum also includes an Xinteractive help package, which helps to familiarize users with the full Xpotential of FUDforum. X XWWW: http://fud.prohost.org/ END-of-pkg-descr echo x - pkg-message sed 's/^X//' >pkg-message << 'END-of-pkg-message' X***************************************** X* Installation Instructions * X***************************************** X X1) This step applies ONLY to users who's PHP has a memory limit. X X Make sure that the directory the install script is in is either writable by X the webserver or that a "fudforum_archive" file exists and is writable by X the webserver. The latter applies only to users on servers WITHOUT X safe_mode. X X2) Using your web browser run the install.php script. In a default install, X run: X http://localhost/fudforum/install.php X X3) The install wizard will then take you through 5 steps at the end of which X you will have a working FUDforum installed on your server. X X***************************************** X* Uninstall Instructions * X***************************************** X XRun the uninstall.php script PRIOR to pkg_delete/pkg_deinstall to remove the Xdirectories and files created by the install.php script. X END-of-pkg-message echo x - pkg-plist sed 's/^X//' >pkg-plist << 'END-of-pkg-plist' X%%PORTDOCS%%share/doc/fudforum/COPYING X%%PORTDOCS%%share/doc/fudforum/CREDITS X%%PORTDOCS%%share/doc/fudforum/README X%%FUDDIR%%/install.php X%%FUDDIR%%/uninstall.php X@dirrm %%FUDDIR%% X%%PORTDOCS%%@dirrm share/doc/fudforum END-of-pkg-plist exit [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/yqsmOv9JNmfFN5URAjtXAJ9/LJ2+NFDL6Yud8a0AfUhAoFE1+ACglTJR HgIfW9DSWSeN2JgNbGJqHWc= =UprW -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312010344.54374.freebsd-questions>
