diff options
Diffstat (limited to 'mail/roundcube/Makefile')
-rw-r--r-- | mail/roundcube/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/mail/roundcube/Makefile b/mail/roundcube/Makefile index 3132328f3bd4..8ef9da19ca6e 100644 --- a/mail/roundcube/Makefile +++ b/mail/roundcube/Makefile @@ -6,15 +6,16 @@ # PORTNAME= roundcube -DISTVERSION= 0.2-beta2 +DISTVERSION= 0.2 PORTEPOCH= 1 CATEGORIES= mail www MASTER_SITES= SF/${PORTNAME}mail -DISTNAME= ${PORTNAME}mail-${DISTVERSION} +DISTNAME= ${PORTNAME}mail-${DISTVERSION}-stable MAINTAINER= ale@FreeBSD.org COMMENT= Fully skinnable XHTML/CSS webmail written in PHP +WRKSRC= ${WRKDIR}/${PORTNAME}mail-${DISTVERSION}-stable NO_BUILD= yes RCUBECOMP= SQL bin config index.php logs program robots.txt skins temp @@ -81,17 +82,17 @@ post-extract: .endif post-patch: + @${RM} ${WRKSRC}/bin/*.sh @${RM} ${WRKSRC}/config/main.inc.php.dist.orig - @${REINPLACE_CMD} "s|/usr/bin/php|${LOCALBASE}/bin/php|" \ - ${WRKSRC}/bin/msgexport.sh ${WRKSRC}/bin/msgimport.sh .if defined(WITH_REPLACE_MAIL_URL) @${REINPLACE_CMD} "s/'mail'/'${MAIL}'/g" ${WRKSRC}/index.php \ ${WRKSRC}/program/include/rcmail.php \ - ${WRKSRC}/program/js/app.js \ + ${WRKSRC}/program/localization/*/labels.inc \ ${WRKSRC}/program/steps/addressbook/mailto.inc @${REINPLACE_CMD} "s/_task=mail/_task=${MAIL}/g" \ ${WRKSRC}/program/steps/mail/rss.inc - @${REINPLACE_CMD} "s/command=\"mail\"/command=\"${MAIL}\"/g" \ + @${REINPLACE_CMD} "s/\"mail\"/\"${MAIL}\"/g" \ + ${WRKSRC}/program/js/app.js \ ${WRKSRC}/skins/default/includes/header.html \ ${WRKSRC}/skins/default/includes/taskbar.html @${REINPLACE_CMD} "s/mail.gif/${MAIL}.gif/g" \ |