blob: b6e1c17263b431b47f58cb16000599aa9d5bddcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $FreeBSD$
PORTNAME= hotcrp
PORTVERSION= 2.60
CATEGORIES= www
MASTER_SITES= http://www.read.seas.harvard.edu/~kohler/hotcrp/
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Web based conference management software
RUN_DEPENDS= ${PEARDIR}/Mail.php:${PORTSDIR}/mail/pear-Mail \
${PEARDIR}/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime \
pdf-to-html:${PORTSDIR}/textproc/pdftohtml \
zip:${PORTSDIR}/archivers/zip
USE_PHP= mysqli 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} ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
post-install:
@${CAT} ${PKGMESSAGE}
@cd ${WRKSRC} && \
${FIND} -s -d . -type f -print | \
${SED} -e "s#^\.#${WWWDIR_REL}#" >> ${TMPPLIST}
@cd ${WRKSRC} && \
${FIND} -s -d . -type d -print | \
${SED} -e "s#^\.#@dirrm ${WWWDIR_REL}#" >> ${TMPPLIST}
.include <bsd.port.mk>
|