mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
ff2fb4488e
- Introduce WANT_PHP_MOD PR: ports/191493 Submitted by: Marco Steinbach <coco@executive-computing.de>
51 lines
986 B
Makefile
51 lines
986 B
Makefile
# Created by: Marco Steinbach <coco@executive-computing.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= redaxo
|
|
PORTVERSION= 4.6
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.redaxo.org/files/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/g}
|
|
|
|
MAINTAINER= coco@executive-computing.de
|
|
COMMENT= REDAXO content management system
|
|
|
|
LICENSE= GPLv2
|
|
|
|
NO_BUILD= yes
|
|
|
|
SUB_FILES+= pkg-message pkg-deinstall
|
|
USE_PHP= mysql session xml zlib
|
|
USES= zip:infozip
|
|
|
|
OPTIONS_DEFINE= APACHE MYSQLS GD
|
|
|
|
APACHE_DESC= Use Apache (2.2) as http server
|
|
MYSQLS_DESC= Use MySQL database server
|
|
GD_DESC= Enable Image Manager extension (requires gd)
|
|
|
|
OPTIONS_DEFAULT= APACHE MYSQLS GD
|
|
|
|
MYSQLS_USE= MYSQL=server
|
|
|
|
APACHE_USE= APACHE_RUN=22
|
|
|
|
GD_USE= PHP=gd
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MAPACHE}
|
|
WANT_PHP_MOD= yes
|
|
.endif
|
|
|
|
do-extract:
|
|
@${INSTALL} -d ${WRKDIR}
|
|
@${UNZIP_CMD} -qo ${DISTDIR}/${DISTFILES} -d ${WRKSRC}
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && \
|
|
${FIND} . | \
|
|
${CPIO} --quiet -pdm ${STAGEDIR}${WWWDIR}
|
|
|
|
.include <bsd.port.mk>
|