diff options
author | edwin <edwin@FreeBSD.org> | 2004-01-17 18:53:58 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-01-17 18:53:58 +0800 |
commit | c4d5983abfec2adc912ca0c5dd799314320b71ce (patch) | |
tree | a8dac3114dd1faa4bd599abea54300a47197a68f /mail | |
parent | d38f3370e85a364755e10018e4e82f513ef2fef7 (diff) | |
download | freebsd-ports-gnome-c4d5983abfec2adc912ca0c5dd799314320b71ce.tar.gz freebsd-ports-gnome-c4d5983abfec2adc912ca0c5dd799314320b71ce.tar.zst freebsd-ports-gnome-c4d5983abfec2adc912ca0c5dd799314320b71ce.zip |
Remove master_sites:
portlint complains if there is no / at the end, while the
do-fecth doesn't work with a / at the end. Use fetch_site
in this case.
Make do-fetch working
Replace WWWUID and WWWGROUP with WWWOWN and WWWGRP
Noticed by: bento log
http://bento.freebsd.org/errorlogs/i386-4-exp-latest/postfixadmin-2.0.2_1.log
Informed maintainer
Diffstat (limited to 'mail')
-rw-r--r-- | mail/postfixadmin/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/mail/postfixadmin/Makefile b/mail/postfixadmin/Makefile index 3fa06907c06c..77160ffedb92 100644 --- a/mail/postfixadmin/Makefile +++ b/mail/postfixadmin/Makefile @@ -8,8 +8,7 @@ PORTNAME= postfixadmin PORTVERSION= 2.0.3 CATEGORIES= mail -MASTER_SITES= http://high5.net/postfixadmin/download.php/ -DISTNAME= ${PORTNAME}-${PORTVERSION} +MASTER_SITES= # See FETCH_SITE EXTRACT_SUFX= .tgz MAINTAINER= rob@debank.tv @@ -21,15 +20,14 @@ RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4 RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 .endif -WWW_USER?= www -WWW_GROUP?= www - NO_BUILD= yes +FETCH_SITE= http://high5.net/postfixadmin/download.php FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} do-fetch: + @${ECHO_MSG} ">> Attempting to fetch from ${FETCH_SITE}." ${FETCH_CMD} ${FETCH_BEFORE_ARGS} \ - ${MASTER_SITES}?file=${DISTNAME}${EXTRACT_SUFX} + ${FETCH_SITE}?file=${DISTNAME}${EXTRACT_SUFX} post-patch: ${FIND} ${WRKSRC} -name '*.orig' -delete @@ -55,9 +53,8 @@ do-install: ${CP} ${PREFIX}/www/postfixadmin/config.inc.php.sample \ ${PREFIX}/www/postfixadmin/config.inc.php - post-install: - @${CHOWN} -R ${WWW_USER}:${WWW_GROUP} ${PREFIX}/www/postfixadmin + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/www/postfixadmin @${CHMOD} 640 ${PREFIX}/www/postfixadmin/*.php ${PREFIX}/www/postfixadmin/*.css @${CHMOD} 640 ${PREFIX}/www/postfixadmin/admin/*.php @${CHMOD} 640 ${PREFIX}/www/postfixadmin/users/*.php |