=================================================================== RCS file: /cvs/ports/mail/squirrelmail/Makefile,v retrieving revision 1.7 retrieving revision 1.12 diff -u -r1.7 -r1.12 --- ports/mail/squirrelmail/Makefile 2009/10/20 07:58:17 1.7 +++ ports/mail/squirrelmail/Makefile 2011/07/25 21:09:52 1.12 @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.7 2009/10/20 06:58:17 yason Exp $ +# $OpenBSD: Makefile,v 1.12 2011/07/25 21:09:52 yason Exp $ COMMENT = standards-based webmail package written in PHP -DISTNAME = squirrelmail-1.4.20-RC2 +DISTNAME = squirrelmail-webmail-1.4.22 +PKGNAME = ${DISTNAME:S/-webmail//} CATEGORIES = mail www @@ -25,8 +26,13 @@ PREFIX = /var/www INSTDIR = ${PREFIX}/htdocs/squirrelmail -RUN_DEPENDS = :php5-core-*:www/php5/core +MODULES = lang/php +RUN_DEPENDS = lang/php/${MODPHP_VERSION} +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: ${INSTALL_DATA_DIR} ${INSTDIR} cd ${WRKDIST}; tar cf - . | tar xf - -C ${INSTDIR}