blob: c08149f5b259c68fa006e0af0132e5fe6a239e98 (
plain) (
blame)
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
|
# New ports collection makefile for: crp
# Date created: June 01 2004
# Whom: Lars Eggert <lars.eggert@gmx.net>
#
# $FreeBSD$
#
PORTNAME= crp
PORTVERSION= 20031012
CATEGORIES= www science
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= CRP
EXTRACT_SUFX= .tgz
MAINTAINER= lars.eggert@gmx.net
COMMENT= Automates the process of being the program chair of a conference
USE_PHP= yes
WANT_PHP_WEB= yes
NO_BUILD= yes
SPOOLDIR?= /var/spool/conference
PKGMESSAGE= ${WRKDIR}/pkg-message
post-patch:
@${SED} -e 's|%%WWWDIR%%|${WWWDIR}|g; s|%%DISTNAME%%|${DISTNAME}|g' \
${MASTERDIR}/pkg-message > ${PKGMESSAGE}
do-install:
@${MKDIR} -m 755 ${WWWDIR} ${SPOOLDIR}
@${CP} -R ${WRKSRC}/ ${WWWDIR}/
@${SED} -e 's#/var/www/html#${WWWDIR}#' \
${WRKSRC}/Code/confHeader.inc > ${WWWDIR}/Code/confHeader.inc
@${CHOWN} -R ${WWWOWN}:${WWWGROUP} ${WWWDIR} ${SPOOLDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|