openbsd-ports/www/myreview/Makefile
ajacoutot 5fc2f11c85 Import myreview-1.9.9
MyReview is an open-source web application for managing the paper
submission and paper review phases. It aims at providing the most
complete, powerful and flexible software of its kind.
It provides the following functionalities:
* paper submission
* assignment of papers to reviewers
* review submission
* discussion on conflicting reviews
* paper selection
* preparation of the conference
2007-10-31 11:54:08 +00:00

46 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/10/31 11:54:08 ajacoutot Exp $
COMMENT= web-based conference management software
V= 1.9.9
DISTNAME= myreview_${V:S/./_/g}
PKGNAME= myreview-${V}
CATEGORIES= www
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} myreview.pdf:0
HOMEPAGE= http://myreview.lri.fr/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
MASTER_SITES0= http://www.lri.fr/~rigaux/
EXTRACT_ONLY=
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/myreview
SUBST_VARS= INSTDIR
RUN_DEPENDS= :php5-mysql-*:www/php5/extensions,-mysql
do-install:
@cd ${PREFIX} && tar -zxf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}
@mv ${INSTDIR}/DBInfo.php ${INSTDIR}/DBInfo.php.sample
@find ${PREFIX} -type d -name ".svn" | xargs rm -R
@find ${PREFIX} -type f -name "*~" -exec rm {} \;
@find ${PREFIX} -type f -name "*.bak" -exec rm {} \;
@${INSTALL_DATA} ${FULLDISTDIR}/myreview.pdf ${INSTDIR}
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>