mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
REDAXO is a modular, extensible PHP and MySQL based CMS, providing
multi-language support and accessibility in an easy to use way. WWW: http://www.redaxo.org/ PR: ports/178464 Submitted by: Marco Steinbach <coco@executive-computing.de>
This commit is contained in:
parent
4c10c42149
commit
fd39bd6cf0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322252
@ -1689,6 +1689,7 @@
|
||||
SUBDIR += quixote
|
||||
SUBDIR += qupzilla
|
||||
SUBDIR += red5
|
||||
SUBDIR += redaxo
|
||||
SUBDIR += redmine
|
||||
SUBDIR += redmine-backlogs
|
||||
SUBDIR += redmine-basecamp
|
||||
|
55
www/redaxo/Makefile
Normal file
55
www/redaxo/Makefile
Normal file
@ -0,0 +1,55 @@
|
||||
# Created by: Marco Steinbach <coco@executive-computing.de>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= redaxo
|
||||
PORTVERSION= 4.5
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://www.redaxo.org/files/
|
||||
DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/}
|
||||
|
||||
MAINTAINER= coco@executive-computing.de
|
||||
COMMENT= The REDAXO content management system
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
NO_BUILD= yes
|
||||
SUB_FILES+= pkg-message pkg-deinstall
|
||||
USE_PHP= mysql session xml zlib
|
||||
USE_ZIP= yes
|
||||
|
||||
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
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MMYSQLS}
|
||||
USE_MYSQL= server
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MAPACHE}
|
||||
USE_APACHE_RUN= 22
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MGD}
|
||||
USE_PHP+= gd
|
||||
.endif
|
||||
|
||||
do-extract:
|
||||
@${INSTALL} -d ${WRKDIR}
|
||||
@${UNZIP_CMD} -qo ${DISTDIR}/${DISTFILES} -d ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && \
|
||||
${FIND} . | \
|
||||
${CPIO} --quiet -pdm -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include <bsd.port.post.mk>
|
2
www/redaxo/distinfo
Normal file
2
www/redaxo/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (redaxo4_5.zip) = f2563ba294b138298054b38c3628f1769ef2f46d0748d87f2af7f60b74d73778
|
||||
SIZE (redaxo4_5.zip) = 5601607
|
37
www/redaxo/files/pkg-deinstall.in
Normal file
37
www/redaxo/files/pkg-deinstall.in
Normal file
@ -0,0 +1,37 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
if [ "$2" == "DEINSTALL" ]; then
|
||||
if [ -d %%WWWDIR%% ]; then
|
||||
if [ -z "${BATCH}" ]; then
|
||||
echo ""
|
||||
echo "========================================================================="
|
||||
echo ""
|
||||
echo "WARNING !"
|
||||
echo ""
|
||||
echo "Press ctrl-C NOW, if you intend to upgrade REDAXO!"
|
||||
echo ""
|
||||
echo "You have 10 seconds to abort the deletion."
|
||||
echo ""
|
||||
echo "For an upgrade, use REDAXOs built-in export functions for exporting all"
|
||||
echo "your data to a safe place outside of the ports installation directory,"
|
||||
echo "then delete the port, install the new version, and reimport youri data."
|
||||
echo ""
|
||||
echo "========================================================================="
|
||||
echo ""
|
||||
sleep 10
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if [ "$2" == "POST-DEINSTALL" ]; then
|
||||
if [ -d %%WWWDIR%% ]; then
|
||||
echo ""
|
||||
echo "-------------------------------------------------------------------------"
|
||||
echo ""
|
||||
echo "Run the following command, if you plan to permanently remove REDAXO:"
|
||||
echo ""
|
||||
echo " rm -rf %%WWWDIR%%"
|
||||
echo ""
|
||||
echo "-------------------------------------------------------------------------"
|
||||
echo ""
|
||||
fi
|
||||
fi
|
6
www/redaxo/files/pkg-message.in
Normal file
6
www/redaxo/files/pkg-message.in
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
REDAXO has been installed to the following location:
|
||||
|
||||
%%WWWDIR%%
|
||||
-------------------------------------------------------
|
4
www/redaxo/pkg-descr
Normal file
4
www/redaxo/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
REDAXO is a modular, extensible PHP and MySQL based CMS, providing
|
||||
multi-language support and accessibility in an easy to use way.
|
||||
|
||||
WWW: http://www.redaxo.org/
|
1255
www/redaxo/pkg-plist
Normal file
1255
www/redaxo/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user