Skip site navigation (1)Skip section navigation (2)
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

--Boundary-02=_msqy/OjB+jo+KJ1
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

[ 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=
=20
more user-friendly).

Oh - just create /usr/ports/www/fudforum, cd into it and sh /path/to/
fudforum.sh.

=2D-=20
Melvyn

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
=46reeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29=20
00:15:33 CET 2003     root@sarevok.webteckies.org:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D

# 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=3D	fudforum
XPORTVERSION=3D	2.6.0.r8
XCATEGORIES=3D	www
XMASTER_SITES=3D	http://fud.prohost.org/download/
X# http://fud.prohost.org/download/FUDforum_zl_2-6-0RC8.tar.bz2
XDISTNAME=3D	FUDforum_zl_${PORTVERSION:S/.r/RC/:S/./-/g}
X
XMAINTAINER=3D	ports@webteckies.org
XCOMMENT=3D	A robust, fully customizable and extremely scalable forums pack=
age
X
XWRKSRC=3D		${WRKDIR}/FUDforum2
XNO_BUILD=3D	yes
XUSE_BZIP2=3D	yes
X
XFUDDIR?=3D	www/data-dist/${PORTNAME}
XPLIST_SUB+=3D	FUDDIR=3D${FUDDIR}
XDB_TYPE?=3D	mysql4
X
X.if ${DB_TYPE} =3D=3D "mysql4"
XLIB_DEPENDS+=3D	mysqlclient.12:${PORTSDIR}/databases/mysql40-client
X.else
X.if ${DB_TYPE} =3D=3D "mysql3"
XLIB_DEPENDS+=3D	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
X.else
X.if ${DB_TYPE} =3D=3D "pgsql"
XLIB_DEPENDS+=3D	pq:${PORTSDIR}/databases/postgresql-client
X.endif
X.endif
X.endif
XWANT_PHP_CLI=3D	yes
XWANT_PHP_WEB=3D	yes
X
XFUDDOCS=3D	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) =3D 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.=
=20
The=20
Xeasy to use administration control panel allows the administrator to easil=
y=20
Xconfigure and control the many features available. The forum also includes=
 an=20
Xinteractive help package, which helps to familiarize users with the full=20
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 writabl=
e=20
by=20
X   the webserver or that a "fudforum_archive" file exists and is writable =
by=20
X   the webserver. The latter applies only to users on servers WITHOUT=20
X   safe_mode.
X=09
X2) Using your web browser run the install.php script. In a default install=
,=20
X   run:
X   http://localhost/fudforum/install.php
X
X3) The install wizard will then take you through 5 steps at the end of whi=
ch=20
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 t=
he
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


--Boundary-02=_msqy/OjB+jo+KJ1
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQA/yqsmOv9JNmfFN5URAjtXAJ9/LJ2+NFDL6Yud8a0AfUhAoFE1+ACglTJR
HgIfW9DSWSeN2JgNbGJqHWc=
=UprW
-----END PGP SIGNATURE-----

--Boundary-02=_msqy/OjB+jo+KJ1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312010344.54374.freebsd-questions>