=================================================================== RCS file: /cvs/ports/mail/squirrelmail/Makefile,v retrieving revision 1.6 retrieving revision 1.10 diff -u -r1.6 -r1.10 --- ports/mail/squirrelmail/Makefile 2009/09/09 13:50:03 1.6 +++ ports/mail/squirrelmail/Makefile 2010/12/24 05:18:13 1.10 @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.6 2009/09/09 12:50:03 yason Exp $ +# $OpenBSD: Makefile,v 1.10 2010/12/24 05:18:13 yason Exp $ COMMENT = standards-based webmail package written in PHP -DISTNAME = squirrelmail-1.4.20-RC2 +DISTNAME = squirrelmail-1.4.21 CATEGORIES = mail www @@ -25,11 +25,14 @@ PREFIX = /var/www INSTDIR = ${PREFIX}/htdocs/squirrelmail -RUN_DEPENDS = :php5-core-*:www/php5/core +RUN_DEPENDS = php5-core-*:www/php5/core -pre-fake: - ${INSTALL_DATA_DIR} ${INSTDIR} +do-configure: + # This option hides SquirrelMail version on login page + echo "\$$hide_sm_attributions = true;" >> ${WRKDIST}/config/config_local.php + mv ${WRKDIST}/config/config_local.php ${WRKDIST}/config/config_local_default.php do-install: - @cp -r ${WRKDIST}/* ${INSTDIR} + ${INSTALL_DATA_DIR} ${INSTDIR} + cd ${WRKDIST}; tar cf - . | tar xf - -C ${INSTDIR} .include