mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
Open Journal Systems (OJS) has been developed by the Public Knowledge Project.
For general information about OJS and other open research systems, visit the PKP WWW: http://pkp.sfu.ca/ PR: ports/92197 Submitted by: Filipe Rocha <filiperocha at gmail.com>
This commit is contained in:
parent
e2ca9fa5ad
commit
ed3ead1440
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167310
@ -413,6 +413,7 @@
|
||||
SUBDIR += nvu
|
||||
SUBDIR += ocaml-net
|
||||
SUBDIR += ocaml-wdialog
|
||||
SUBDIR += ojs2
|
||||
SUBDIR += oops
|
||||
SUBDIR += openacs
|
||||
SUBDIR += openacs-dotlrn
|
||||
|
59
www/ojs2/Makefile
Normal file
59
www/ojs2/Makefile
Normal file
@ -0,0 +1,59 @@
|
||||
# New ports collection makefile for: ojs
|
||||
# Date created: 4 March 2006
|
||||
# Whom: Filipe Rocha <filiperocha@gmail.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ojs2
|
||||
PORTVERSION= 2.1.0
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://pkp.sfu.ca/ojs/download/
|
||||
DISTNAME= ojs-2.1.0-1
|
||||
|
||||
MAINTAINER= filiperocha@gmail.com
|
||||
COMMENT= Open Journal Systems
|
||||
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_PHP=
|
||||
WANT_PHP_WEB= yes
|
||||
|
||||
OJSDIR?= www/ojs2
|
||||
|
||||
OPTIONS= MYSQL "Use a MYSQL Database" on \
|
||||
PGSQL "Use a PosgreSQL Database" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITHOUT_MYSQL) && !defined(WITH_PGSQL)
|
||||
IGNORE= needs at least least one DB backend; please run 'make config'
|
||||
.endif
|
||||
|
||||
.ifndef(WITHOUT_MYSQL)
|
||||
USE_PHP+= mysql
|
||||
.endif
|
||||
|
||||
.ifdef(WITH_PGSQL)
|
||||
USE_PHP+= pgsql
|
||||
.endif
|
||||
|
||||
.include "${PORTSDIR}/Mk/bsd.php.mk"
|
||||
|
||||
do-install:
|
||||
@${INSTALL_DATA} -d ${PREFIX}/${OJSDIR}
|
||||
@${CP} -Rn ${WRKSRC}/* ${PREFIX}/${OJSDIR}
|
||||
@${FIND} ${PREFIX}/${OJSDIR} -type d -exec ${CHMOD} a+x {} \;
|
||||
@${FIND} ${PREFIX}/${OJSDIR}/cache/t_cache/ -type d -exec ${CHMOD} -R +rw {} \;
|
||||
@${FIND} ${PREFIX}/${OJSDIR}/cache/t_compile/ -type d -exec ${CHMOD} -R +rw {} \;
|
||||
@${FIND} ${PREFIX}/${OJSDIR}/cache/t_config/ -type d -exec ${CHMOD} -R +rw {} \;
|
||||
@${FIND} ${PREFIX}/${OJSDIR}/cache/_db/ -type d -exec ${CHMOD} -R +rw {} \;
|
||||
@${FIND} ${PREFIX}/${OJSDIR}/config.inc.php -type d -exec ${CHMOD} -R +rw {} \;
|
||||
@${FIND} ${PREFIX}/${OJSDIR}/public/ -type d -exec ${CHMOD} -R +rw {} \;
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${OJSDIR}
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
www/ojs2/distinfo
Normal file
3
www/ojs2/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (ojs2/ojs-2.1.0-1.tar.gz) = 1579142bf2beaddc76da72abde110dd5
|
||||
SHA256 (ojs2/ojs-2.1.0-1.tar.gz) = 99f3da47abc0e09b98f8ac41f0346c9ae7376b36cd9801705defdeb117dd04c0
|
||||
SIZE (ojs2/ojs-2.1.0-1.tar.gz) = 2276083
|
4
www/ojs2/pkg-descr
Normal file
4
www/ojs2/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Open Journal Systems (OJS) has been developed by the Public Knowledge Project.
|
||||
For general information about OJS and other open research systems, visit the PKP
|
||||
|
||||
WWW: http://pkp.sfu.ca/
|
6
www/ojs2/pkg-message
Normal file
6
www/ojs2/pkg-message
Normal file
@ -0,0 +1,6 @@
|
||||
===================================================
|
||||
Please read docs/README for more instalation
|
||||
information
|
||||
|
||||
Forum: <http://pkp.sfu.ca/support/forum/>
|
||||
===================================================
|
1599
www/ojs2/pkg-plist
Normal file
1599
www/ojs2/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user