View | Details | Raw Unified | Return to bug 90101
Collapse All | Expand All

(-)phpwiki13/Makefile (-11 / +38 lines)
Lines 1-12 Link Here
1
# New ports collection makefile for:	phpwiki
1
# New ports collection makefile for:	phpwiki
2
# Date created:		09.Oct 2003
2
# Date created:		29-NOV-2005
3
# Whom:			dirk.meyer@dinoex.sub.org
3
# Whom:			babak@farrokhi.net
4
#
4
#
5
# $FreeBSD: ports/www/phpwiki13/Makefile,v 1.13 2005/11/30 17:10:25 pav Exp $
5
# $FreeBSD: ports/www/phpwiki13/Makefile,v 1.13 2005/11/30 17:10:25 pav Exp $
6
#
6
#
7
7
8
PORTNAME=	phpwiki
8
PORTNAME=	phpwiki
9
PORTVERSION=	1.3.11p1
9
PORTVERSION=	1.3.11p1
10
PORTREVISION=	1
10
CATEGORIES=	www
11
CATEGORIES=	www
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	phpwiki
13
MASTER_SITE_SUBDIR=	phpwiki
Lines 17-40 Link Here
17
CONFLICTS+=	phpwiki-1.2*
18
CONFLICTS+=	phpwiki-1.2*
18
LATEST_LINK=	phpwiki13
19
LATEST_LINK=	phpwiki13
19
20
20
.if !defined(WITHOUT_PHP_DEPENDS)
21
USE_PHP=	ctype pcre posix session tokenizer xml zlib
21
USE_PHP=	ctype pcre posix session tokenizer xml zlib mysql
22
.if defined(WITH_CDB) || defined(WITH_DB4) || defined(WITH_GDBM) || defined(WITH_INIFILE)
23
USE_PHP+=	dba
24
.endif
25
.endif
26
22
27
NO_BUILD=	YES
23
NO_BUILD=	YES
28
PHP4_PORT?=	www/mod_php4
24
PHP4_PORT?=	www/mod_php4
29
PHPWIKI?=	www/data-dist/phpwiki
25
PHPWIKI?=	www/data-dist/phpwiki
30
PLIST_SUB+=	PHPWIKI=${PHPWIKI}
26
PLIST_SUB+=	PHPWIKI=${PHPWIKI}
27
SUB_FILES=	pkg-message
31
ROOTFILES=	GoogleSearch.wsdl PhpWiki.wsdl RPC2.php SOAP.php \
28
ROOTFILES=	GoogleSearch.wsdl PhpWiki.wsdl RPC2.php SOAP.php \
32
		configurator.php favicon.ico getimg.php gforge.php \
29
		configurator.php favicon.ico getimg.php gforge.php \
33
		index.php passencrypt.php wiki
30
		index.php passencrypt.php wiki
34
ROOTDIRS=	config doc lib locale pgsrc schemas tests themes uploads
31
ROOTDIRS=	config lib locale pgsrc schemas tests themes uploads
35
DOCFILES=	INSTALL LICENSE README TODO UPGRADING
32
DOCFILES=	INSTALL LICENSE README TODO UPGRADING
36
33
37
do-configure:
34
OPTIONS=	MYSQL "Use MySQL backend" on \
35
		PGSQL "Use PostgreSQL backend" off \
36
		DB4   "Use Berkeley DB4 backend" off
37
38
.if defined(PHP_VER) && ${PHP_VER} == 5
39
		OPTIONS+=       SQLITE "Use SQLite backend" off
40
.endif
41
42
.include <bsd.port.pre.mk>
43
44
.if defined(WITH_DB4)
45
USE_PHP+=       dba
46
.endif
47
48
.if !defined(WITHOUT_MYSQL)
49
USE_PHP+=	mysql
50
.endif
51
52
.if defined(WITH_PGSQL)
53
USE_PHP+=	pgsql
54
.endif
55
56
.if defined(WITH_SQLITE)
57
USE_PHP+=	sqlite
58
.endif
59
60
.include "${PORTSDIR}/Mk/bsd.php.mk"
38
61
39
do-install:
62
do-install:
40
	-${MKDIR} ${PREFIX}/${PHPWIKI}
63
	-${MKDIR} ${PREFIX}/${PHPWIKI}
Lines 48-53 Link Here
48
.for i in ${DOCFILES}
71
.for i in ${DOCFILES}
49
	@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
72
	@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
50
.endfor
73
.endfor
74
	@(cd ${WRKSRC} && ${CP} -R doc/* ${DOCSDIR}/ )
51
.endif
75
.endif
52
76
53
.include <bsd.port.mk>
77
post-install:
78
	@${CAT} ${PKGMESSAGE}
79
80
.include <bsd.port.post.mk>
(-)phpwiki13/files/pkg-message.in (+12 lines)
Line 0 Link Here
1
2
===========================================================
3
4
* If this is your first install, read the installation 
5
  instructions to setup your database, located at:
6
  %%DOCSDIR%%/INSTALL.*:
7
8
* If you are upgrading from an older version of phpwiki, please 
9
  read upgrade instructions located at:
10
  %%DOCSDIR%%/UPGRADING
11
12
===========================================================
(-)phpwiki13/pkg-plist (-18 / +17 lines)
Lines 3-8 Link Here
3
%%DOCSDIR%%/README
3
%%DOCSDIR%%/README
4
%%DOCSDIR%%/TODO
4
%%DOCSDIR%%/TODO
5
%%DOCSDIR%%/UPGRADING
5
%%DOCSDIR%%/UPGRADING
6
%%DOCSDIR%%/CREDITS
7
%%DOCSDIR%%/HISTORY
8
%%DOCSDIR%%/INSTALL.MacOSX
9
%%DOCSDIR%%/INSTALL.flatfile
10
%%DOCSDIR%%/INSTALL.mSQL
11
%%DOCSDIR%%/INSTALL.mysql
12
%%DOCSDIR%%/INSTALL.oci8
13
%%DOCSDIR%%/INSTALL.pgsql
14
%%DOCSDIR%%/INSTALL.sqlite
15
%%DOCSDIR%%/README.coding
16
%%DOCSDIR%%/README.foaf
17
%%DOCSDIR%%/README.fpdf
18
%%DOCSDIR%%/README.phpwiki-auth
19
%%DOCSDIR%%/README.phpwiki-cache
20
%%DOCSDIR%%/README.security
21
%%DOCSDIR%%/THEMES
22
%%DOCSDIR%%/phpwiki_architecture.png
6
%%PHPWIKI%%/GoogleSearch.wsdl
23
%%PHPWIKI%%/GoogleSearch.wsdl
7
%%PHPWIKI%%/PhpWiki.wsdl
24
%%PHPWIKI%%/PhpWiki.wsdl
8
%%PHPWIKI%%/RPC2.php
25
%%PHPWIKI%%/RPC2.php
Lines 14-36 Link Here
14
%%PHPWIKI%%/config/make-dbhelper.pl
31
%%PHPWIKI%%/config/make-dbhelper.pl
15
%%PHPWIKI%%/config/phpwiki.spec
32
%%PHPWIKI%%/config/phpwiki.spec
16
%%PHPWIKI%%/configurator.php
33
%%PHPWIKI%%/configurator.php
17
%%PHPWIKI%%/doc/CREDITS
18
%%PHPWIKI%%/doc/HISTORY
19
%%PHPWIKI%%/doc/INSTALL.MacOSX
20
%%PHPWIKI%%/doc/INSTALL.flatfile
21
%%PHPWIKI%%/doc/INSTALL.mSQL
22
%%PHPWIKI%%/doc/INSTALL.mysql
23
%%PHPWIKI%%/doc/INSTALL.oci8
24
%%PHPWIKI%%/doc/INSTALL.pgsql
25
%%PHPWIKI%%/doc/INSTALL.sqlite
26
%%PHPWIKI%%/doc/README.coding
27
%%PHPWIKI%%/doc/README.foaf
28
%%PHPWIKI%%/doc/README.fpdf
29
%%PHPWIKI%%/doc/README.phpwiki-auth
30
%%PHPWIKI%%/doc/README.phpwiki-cache
31
%%PHPWIKI%%/doc/README.security
32
%%PHPWIKI%%/doc/THEMES
33
%%PHPWIKI%%/doc/phpwiki_architecture.png
34
%%PHPWIKI%%/favicon.ico
34
%%PHPWIKI%%/favicon.ico
35
%%PHPWIKI%%/getimg.php
35
%%PHPWIKI%%/getimg.php
36
%%PHPWIKI%%/gforge.php
36
%%PHPWIKI%%/gforge.php
Lines 1616-1622 Link Here
1616
@dirrm %%PHPWIKI%%/lib/DbSession
1616
@dirrm %%PHPWIKI%%/lib/DbSession
1617
@dirrm %%PHPWIKI%%/lib/ASCIIMathPHP
1617
@dirrm %%PHPWIKI%%/lib/ASCIIMathPHP
1618
@dirrm %%PHPWIKI%%/lib
1618
@dirrm %%PHPWIKI%%/lib
1619
@dirrm %%PHPWIKI%%/doc
1620
@dirrm %%PHPWIKI%%/config
1619
@dirrm %%PHPWIKI%%/config
1621
@dirrm %%PHPWIKI%%
1620
@dirrm %%PHPWIKI%%
1622
@dirrm %%DOCSDIR%%
1621
@dirrm %%DOCSDIR%%

Return to bug 90101