mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
36 lines
869 B
Makefile
36 lines
869 B
Makefile
# Created by: Lars Eggert <lars.eggert@gmx.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= crp
|
|
PORTVERSION= 20031012
|
|
CATEGORIES= www science
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Oct-12-2003
|
|
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
|
|
|
|
NO_STAGE= yes
|
|
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>
|