=================================================================== RCS file: /cvs/ports/mail/squirrelmail/Makefile,v retrieving revision 1.12 retrieving revision 1.14 diff -u -r1.12 -r1.14 --- ports/mail/squirrelmail/Makefile 2011/07/25 21:09:52 1.12 +++ ports/mail/squirrelmail/Makefile 2013/02/20 20:20:25 1.14 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2011/07/25 21:09:52 yason Exp $ +# $OpenBSD: Makefile,v 1.14 2013/02/20 20:20:25 kirby Exp $ COMMENT = standards-based webmail package written in PHP @@ -27,11 +27,13 @@ INSTDIR = ${PREFIX}/htdocs/squirrelmail MODULES = lang/php -RUN_DEPENDS = lang/php/${MODPHP_VERSION} +MODPHP_RUNDEP = Yes do-configure: # This option hides SquirrelMail version on login page echo "\$$hide_sm_attributions = true;" >> ${WRKDIST}/config/config_local.php + perl -pi -e 's,/var/local/squirrelmail/data/,/var/squirrelmail/data,g' \ + ${WRKDIST}/config/config_default.php mv ${WRKDIST}/config/config_local.php ${WRKDIST}/config/config_local_default.php do-install: ${INSTALL_DATA_DIR} ${INSTDIR}