1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Initial import of owncloud.

Owncloud is a personal cloud which runs on your own server.
This commit is contained in:
Kevin Lo 2011-10-14 10:32:33 +00:00
parent fbf4d29337
commit c9c5f38dcd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283504
5 changed files with 68 additions and 0 deletions

View File

@ -605,6 +605,7 @@
SUBDIR += opera-linuxplugins
SUBDIR += orangehrm
SUBDIR += oscommerce
SUBDIR += owncloud
SUBDIR += p5-AMF-Perl
SUBDIR += p5-Acme-Monta
SUBDIR += p5-AnyEvent-HTTP

40
www/owncloud/Makefile Normal file
View File

@ -0,0 +1,40 @@
# New ports collection makefile for: owncloud
# Date created: 14 October 2011
# Whom: Kevin Lo <kevlo@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= owncloud
PORTVERSION= 2
CATEGORIES= www
MASTER_SITES= http://owncloud.org/releases/
MAINTAINER= kevlo@FreeBSD.org
COMMENT= A personal cloud which runs on your own server
BUILD_DEPENDS= mp3info:${PORTSDIR}/audio/mp3info
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_BZIP2= yes
USE_PHP= ctype curl hash json mbstring mysql session simplexml sqlite zip
WWWDOCROOT?= www
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
SUB_FILES= pkg-message
do-install:
${MKDIR} ${WWWDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
post-install:
@${CAT} ${PKGMESSAGE}
@${FIND} -s -d ${WWWDIR} -type f -print | \
${SED} -e "s#${PREFIX}/##g" >> ${TMPPLIST}
@${FIND} -s -d ${WWWDIR} -type d -print | \
${SED} -E -e "s#${PREFIX}/#@dirrm #g" >> ${TMPPLIST}
.include <bsd.port.mk>

2
www/owncloud/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (owncloud-2.tar.bz2) = 728410817b10ad78bcbcfc22e1a28a1949b60af04834719babbfef4204d2a8c1
SIZE (owncloud-2.tar.bz2) = 1169660

View File

@ -0,0 +1,21 @@
***********************************************************************
* POST INSTALL CONFIGURATION *
***********************************************************************
Please note that everything has been installed in %%WWWDIR%%.
Read %%WWWDIR%%/README.
You will probably want to add an alias to your httpd.conf file, something
like this:
Alias /owncloud %%WWWDIR%%
AcceptPathInfo On
<Directory %%WWWDIR%%>
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
And restart Apache.

4
www/owncloud/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
Owncloud is a system for the creation and management of personal
cloud resources.
WWW: http://owncloud.org