freebsd-ports/www/phpnuke/Makefile
Edwin Groothuis a3c383f62d [orphaned ports]: use USE_MYSQL for various orphaned ports.
Make these ports use USE_MYSQL:
	    * databases/dbconnect
	    * net/netsaint
	    * www/mod_mp3
	    * www/mod_mylo
	    * www/phpnuke
	    * www/postnuke
	    * www/udmsearch
	    * mail/courier

PR:		ports/56029
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org>
2003-08-28 12:57:52 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: phpnuke
# Date created: 10 April 2001
# Whom: will
#
# $FreeBSD$
#
PORTNAME= phpnuke
PORTVERSION= 6.0
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= PHP-Nuke-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An automated website package to distribute and manage content
.if defined(WITH_PHP3)
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3
.else
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
.endif
USE_MYSQL= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
DOCS= ADDONS-MODULES BLOCKS CHANGES README TODO
pre-everything::
.if !defined(WITH_PHP3)
@${ECHO_MSG} ""
@${ECHO_MSG} "Press CTRL-C and define WITH_PHP3 if you want"
@${ECHO_MSG} "to use PHP Nuke with PHP3. PHP4 is used by default."
@${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>