aboutsummaryrefslogtreecommitdiffstats
path: root/www/quickie
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-03-24 22:04:36 +0800
committerpav <pav@FreeBSD.org>2007-03-24 22:04:36 +0800
commit3e32701b9f418b2a116f23f45273f81622a20834 (patch)
tree5e4faebb47590f6e64af256b4b2c207bb57fc0d6 /www/quickie
parent1b95307a29820e5b97fcc60a906b3ae93ea5a9f0 (diff)
downloadfreebsd-ports-gnome-3e32701b9f418b2a116f23f45273f81622a20834.tar.gz
freebsd-ports-gnome-3e32701b9f418b2a116f23f45273f81622a20834.tar.zst
freebsd-ports-gnome-3e32701b9f418b2a116f23f45273f81622a20834.zip
- WWWDIR is now defined in bsd.ports.mk
PR: ports/105529 Submitted by: laszlof
Diffstat (limited to 'www/quickie')
-rw-r--r--www/quickie/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/www/quickie/Makefile b/www/quickie/Makefile
index 959864ae963c..d5981a038e84 100644
--- a/www/quickie/Makefile
+++ b/www/quickie/Makefile
@@ -28,10 +28,6 @@ MAN1= quickie-config.1 quickie_prime.1 quickie.1 quickie_svt.1 \
SUB_FILES= pkg-message
-WWWOWN?= www
-WWWGRP?= www
-WWWDIR?= ${PREFIX}/www
-
PORTDOCS= ${DISTNAME}.pdf
.if !defined(NOPORTDOCS)
@@ -51,11 +47,11 @@ pre-install:
post-install:
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${DATADIR}
.if !defined(WITHOUT_CGICOPY)
- @if [ -d ${WWWDIR}/cgi-bin/ ]; then \
- if [ ! -f ${WWWDIR}/cgi-bin/${PORTNAME} ]; then \
+ @if [ -d ${PREFIX}/www/cgi-bin/ ]; then \
+ if [ ! -f ${PREFIX}/www/cgi-bin/${PORTNAME} ]; then \
${ECHO_MSG} "===> Copying CGI binary..." ; \
- ${CP} -p ${PREFIX}/bin/${PORTNAME} ${WWWDIR}/cgi-bin/${PORTNAME} ; \
- ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/cgi-bin/${PORTNAME} ; \
+ ${CP} -p ${PREFIX}/bin/${PORTNAME} ${PREFIX}/www/cgi-bin/${PORTNAME} ; \
+ ${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/www/cgi-bin/${PORTNAME} ; \
fi ; \
fi
.endif