aboutsummaryrefslogtreecommitdiff
path: root/www/crp/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-03-24 14:04:36 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-03-24 14:04:36 +0000
commit47649f7033a40f88bdbb902b00bb10fde1c82e2a (patch)
treec9128f0ea50cfa1c45671f3e7a79326f4cf05185 /www/crp/Makefile
parent9088b943cdeebf10b988b4cdfd82808eb70aa550 (diff)
downloadports-47649f7033a40f88bdbb902b00bb10fde1c82e2a.tar.gz
ports-47649f7033a40f88bdbb902b00bb10fde1c82e2a.zip
Notes
Diffstat (limited to 'www/crp/Makefile')
-rw-r--r--www/crp/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/www/crp/Makefile b/www/crp/Makefile
index 28a3ce1a2c48..c08149f5b259 100644
--- a/www/crp/Makefile
+++ b/www/crp/Makefile
@@ -20,7 +20,6 @@ USE_PHP= yes
WANT_PHP_WEB= yes
NO_BUILD= yes
-WWWDIR?= ${PREFIX}/www
SPOOLDIR?= /var/spool/conference
PKGMESSAGE= ${WRKDIR}/pkg-message
@@ -31,10 +30,10 @@ post-patch:
do-install:
@${MKDIR} -m 755 ${WWWDIR} ${SPOOLDIR}
- @${CP} -R ${WRKSRC} ${WWWDIR}
- @${SED} -e 's#/var/www/html#${PREFIX}/www/${DISTNAME}#' \
- ${WRKSRC}/Code/confHeader.inc > ${WWWDIR}/${DISTNAME}/Code/confHeader.inc
- @${CHOWN} -R ${WWWOWN}:${WWWGROUP} ${WWWDIR}/${DISTNAME} ${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>