1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/www/crp/Makefile
Antoine Brodin a72607c7b8 - Allow staging as a regular user
- Bump portrevision as files were not packaged with intended owner
2014-10-10 21:19:58 +00:00

35 lines
883 B
Makefile

# Created by: Lars Eggert <lars.eggert@gmx.net>
# $FreeBSD$
PORTNAME= crp
PORTVERSION= 20031012
PORTREVISION= 1
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
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
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 ${STAGEDIR}${WWWDIR} ${STAGEDIR}${SPOOLDIR}
@${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
@${SED} -e 's#/var/www/html#${WWWDIR}#' \
${WRKSRC}/Code/confHeader.inc > ${STAGEDIR}${WWWDIR}/Code/confHeader.inc
.include <bsd.port.mk>