ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/mail/squirrelmail/Makefile
(Generate patch)

Comparing trunk/mail/squirrelmail/Makefile (file contents):
Revision 10890 by laffer1, Sat Apr 30 17:58:41 2011 UTC vs.
Revision 16798 by laffer1, Fri Sep 5 05:39:11 2014 UTC

# Line 1 | Line 1
1 < # $MidnightBSD: mports/mail/squirrelmail/Makefile,v 1.14 2011/01/08 04:42:42 laffer1 Exp $
1 > # $MidnightBSD$
2  
3   PORTNAME=       squirrelmail
4 < PORTVERSION=    1.4.21
4 > PORTVERSION=    1.4.22
5 > PORTREVISION=   1
6   CATEGORIES=     mail www
7 < MASTER_SITES=   SF/${PORTNAME}/stable/${PORTVERSION:S/.r/-RC/}:squirrelmail \
8 <                SF/${PORTNAME}/locales/1.4.18-20090526:locales
8 < DISTNAME=       ${PORTNAME}-${PORTVERSION:S/.r/-RC/}
9 < DISTFILES=      ${DISTNAME}${EXTRACT_SUFX}:squirrelmail \
10 <                all_locales-1.4.18-20090526${EXTRACT_SUFX}:locales
7 > MASTER_SITES=   SF/${PORTNAME}/stable/${PORTVERSION}
8 > DISTNAME=       ${PORTNAME}-webmail-${PORTVERSION}
9   DIST_SUBDIR=    ${PORTNAME}
10  
11   MAINTAINER=     ports@MidnightBSD.org
12 < COMMENT=        A webmail system which accesses mail over IMAP
12 > COMMENT=        Webmail system which accesses mail over IMAP
13 >
14   LICENSE=        gpl2
15  
16 < USE_PHP=        session mhash gettext mbstring pcre openssl xml
16 > USE_PHP=        session gettext mbstring pcre openssl xml
17   WANT_PHP_WEB=   yes
18  
19 < USE_BZIP2=      yes
21 < USE_GETTEXT=    yes
19 > USES=           gettext tar:bzip2
20  
21   .ifdef WITH_DATABASE
22   RUN_DEPENDS+=   ${PREFIX}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
# Line 59 | Line 57 | post-patch:
57                  ${WRKSRC}/config/config_default.php.orig \
58                  ${WRKSRC}/functions/global.php.orig \
59                  ${WRKSRC}/functions/i18n.php.orig \
60 +                ${WRKSRC}/functions/imap_search.php.orig \
61                  ${WRKSRC}/src/addrbook_search_html.php.orig \
62                  ${WRKSRC}/src/compose.php.orig
63   .endif
# Line 72 | Line 71 | post-patch:
71   # Rearrange the documentation
72   do-build:
73          @${MV} ${WRKSRC}/themes/README.themes ${WRKSRC}/doc/
74 <        @cd ${WRKSRC} ; for f in `find plugins -name "README*" -or \
74 >        @cd ${WRKSRC} ; for f in `${FIND} plugins -name "README*" -or \
75                  -name INSTALL -or -name CHANGES -or -name HISTORY`; \
76                  do \
77                  ${MKDIR} doc/`dirname $$f` ; \
# Line 83 | Line 82 | do-build:
82          ${MV} plugins/squirrelspell/doc/* doc/plugins/squirrelspell ; \
83          ${RM} -f doc/plugins/squirrelspell/index.php ; \
84          ${RM} -rf plugins/squirrelspell/doc
85 +        @${FIND} ${WRKSRC} -name '*.orig' -delete
86          @${ECHO} "left_refresh=300" >> ${WRKSRC}/data/default_pref
87        @${CP} -r ${WRKSRC}/../locale ${WRKSRC}
88        @${CP} -r ${WRKSRC}/../images ${WRKSRC}
89        @${CP} -r ${WRKSRC}/../help ${WRKSRC}
87          @${MV} ${WRKSRC}/config/config_local.php ${WRKSRC}/config/config_local.php.sample
88  
89   pre-install:
# Line 97 | Line 94 | do-install:
94          ${MKDIR} ${PREFIX}/etc/periodic/daily
95          ${INSTALL_SCRIPT} ${FILESDIR}/111.clean-squirrelmail ${PREFIX}/etc/periodic/daily
96          ${MKDIR} ${SQUIRRELDIR}
97 <        ${CP} -pv ${WRKSRC}/index.php ${SQUIRRELDIR}
98 <        ${CP} -pv ${WRKSRC}/configure ${SQUIRRELDIR}
97 >        ${INSTALL_DATA} ${WRKSRC}/index.php ${SQUIRRELDIR}
98 >        ${INSTALL_SCRIPT} ${WRKSRC}/configure ${SQUIRRELDIR}
99   .for DIR in class config data functions help images include locale plugins po src themes
100 <        ${CP} -rpv ${WRKSRC}/${DIR} ${SQUIRRELDIR}
100 >        cd ${WRKSRC} && ${FIND} ${DIR} | ${CPIO} -pdmu --quiet ${SQUIRRELDIR}
101   .endfor
102          ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/data
103   .if !defined(NOPORTDOCS)
104          ${MKDIR} ${DOCSDIR}
105 <        ${CP} -Rv ${WRKSRC}/doc/* ${DOCSDIR}
105 >        cd ${WRKSRC}/doc && ${FIND} . | ${CPIO} -pdmu --quiet ${DOCSDIR}
106   .endif
107  
108   .include <bsd.port.mk>

Comparing trunk/mail/squirrelmail/Makefile (property cvs2svn:cvs-rev):
Revision 10890 by laffer1, Sat Apr 30 17:58:41 2011 UTC vs.
Revision 16798 by laffer1, Fri Sep 5 05:39:11 2014 UTC

# Line 1 | Line 0
1 1.15

Comparing trunk/mail/squirrelmail/Makefile (property svn:keywords):
Revision 10890 by laffer1, Sat Apr 30 17:58:41 2011 UTC vs.
Revision 16798 by laffer1, Fri Sep 5 05:39:11 2014 UTC

# Line 0 | Line 1
1 + MidnightBSD=%H

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines