blob: babc7c2709bc10e9cac32ad235fcf51fca40f6e0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# New ports collection makefile for: phpnuke
# Date created: 10 April 2001
# Whom: will
#
# $FreeBSD$
#
PORTNAME= phpnuke
PORTVERSION= 5.3
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= PHP-Nuke-${PORTVERSION}
MAINTAINER= pat@databits.net
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
.if defined(WITH_PHP4)
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
.else
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3
.endif
NO_BUILD= yes
NO_WRKSUBDIR= yes
DOCS= ADDONS-MODULES BLOCKS BUGS CHANGES README TODO
pre-everything:
.if !defined(WITH_PHP4)
@${ECHO_MSG} ""
@${ECHO_MSG} "Press CTRL-C and define WITH_PHP4 if you want to use PHP Nuke with PHP4.
@${ECHO_MSG} ""
.endif
do-install:
@${MKDIR} ${PREFIX}/www/phpnuke
@${MKDIR} ${PREFIX}/www/phpnuke/html
@${MKDIR} ${PREFIX}/www/phpnuke/sql
@${CP} -Rp ${WRKDIR}/html ${WRKDIR}/sql ${PREFIX}/www/phpnuke
.if !defined(NOPORTDOCS)
.for FILE in ${DOCS}
@${INSTALL_DATA} ${WRKDIR}/${FILE} ${PREFIX}/www/phpnuke
.endfor
.endif
.include <bsd.port.mk>
|