freebsd-ports/www/hotcrp/Makefile
2012-05-23 08:40:26 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: hotcrp
# Date created: 26 April 2011
# Whom: Kevin Lo <kevlo@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= hotcrp
PORTVERSION= 2.50
CATEGORIES= www
MASTER_SITES= http://www.read.seas.harvard.edu/~kohler/hotcrp/
MAINTAINER= kevlo@FreeBSD.org
COMMENT= A web based conference management software
RUN_DEPENDS= ${PEARDIR}/Mail.php:${PORTSDIR}/mail/pear-Mail \
${PEARDIR}/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime \
pdftohtml:${PORTSDIR}/textproc/pdftohtml \
zip:${PORTSDIR}/archivers/zip
USE_PHP= mysql gd session ctype
USE_MYSQL= server
PEARDIR= ${PREFIX}/share/pear
WWWDOCROOT?= www
NO_BUILD= yes
SUB_FILES= pkg-message
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE
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>