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 11895 by laffer1, Sat Sep 10 21:12:27 2011 UTC vs.
Revision 14985 by laffer1, Tue Jul 30 23:49:17 2013 UTC

# Line 1 | Line 1
1 < # $MidnightBSD: mports/mail/squirrelmail/Makefile,v 1.16 2011/06/05 05:00:04 laffer1 Exp $
1 > # $MidnightBSD: mports/mail/squirrelmail/Makefile,v 1.17 2011/09/10 21:12:27 laffer1 Exp $
2  
3   PORTNAME=       squirrelmail
4   PORTVERSION=    1.4.22
5 < PORTREVISION=   0
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
9 < DISTNAME=       ${PORTNAME}-webmail-${PORTVERSION:S/.r/-RC/}
10 < DISTFILES=      ${DISTNAME}${EXTRACT_SUFX}:squirrelmail \
11 <                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
# Line 19 | Line 16 | USE_PHP=       session gettext mbstring pcre openssl xml
16   WANT_PHP_WEB=   yes
17  
18   USE_BZIP2=      yes
19 < USE_GETTEXT=    yes
19 > USES=           gettext
20  
21   .ifdef WITH_DATABASE
22   RUN_DEPENDS+=   ${PREFIX}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
# Line 74 | 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 85 | 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
89        @${CP} -r ${WRKSRC}/../locale ${WRKSRC}
90        @${CP} -r ${WRKSRC}/../images ${WRKSRC}
91        @${CP} -r ${WRKSRC}/../help ${WRKSRC}
87          @${MV} ${WRKSRC}/config/config_local.php ${WRKSRC}/config/config_local.php.sample
88  
89   pre-install:
# Line 99 | 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 11895 by laffer1, Sat Sep 10 21:12:27 2011 UTC vs.
Revision 14985 by laffer1, Tue Jul 30 23:49:17 2013 UTC

# Line 1 | Line 1
1 < 1.17
1 > 1.18

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines