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 3796 by laffer1, Wed Dec 19 01:59:33 2007 UTC vs.
Revision 10189 by laffer1, Wed Nov 10 17:01:20 2010 UTC

# Line 1 | Line 1
1 < # New ports collection makefile for:    squirrelmail
2 < # Date created:                         27 December 2001
3 < # Whom:                                 Simon Dick <simond@irrelevant.org>
4 < #
5 < # $FreeBSD: ports/mail/squirrelmail/Makefile,v 1.45 2006/08/11 16:28:19 clsung Exp $
6 < # $MidnightBSD: mports/mail/squirrelmail/Makefile,v 1.5 2007/11/16 13:17:39 laffer1 Exp $
7 < #
1 > # $MidnightBSD: mports/mail/squirrelmail/Makefile,v 1.12 2009/09/24 02:50:02 laffer1 Exp $
2  
3   PORTNAME=       squirrelmail
4 < PORTVERSION=    1.4.13
4 > PORTVERSION=    1.4.21
5   CATEGORIES=     mail www
6 < MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
7 < MASTER_SITE_SUBDIR=     ${PORTNAME}
8 < DISTFILES=      ${DISTNAME}${EXTRACT_SUFX} \
9 <                all_locales-1.4.9-20070106${EXTRACT_SUFX}
6 > MASTER_SITES=   SF/${PORTNAME}/stable/${PORTVERSION:S/.r/-RC/}:squirrelmail \
7 >                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
11   DIST_SUBDIR=    ${PORTNAME}
12  
13   MAINTAINER=     ports@MidnightBSD.org
14   COMMENT=        A webmail system which accesses mail over IMAP
15 + LICENSE=        gpl2
16  
17   USE_PHP=        session mhash gettext mbstring pcre openssl xml
18   WANT_PHP_WEB=   yes
# Line 58 | Line 54 | pre-everything::
54  
55   post-patch:
56   .ifndef PATCH_DEBUG
57 <        @${RM} -f ${WRKSRC}/config/config_default.php.orig ${WRKSRC}/functions/global.php.orig
57 >        @${RM} -f \
58 >                ${WRKSRC}/class/deliver/Deliver.class.php.orig \
59 >                ${WRKSRC}/config/config_default.php.orig \
60 >                ${WRKSRC}/functions/global.php.orig \
61 >                ${WRKSRC}/functions/i18n.php.orig \
62 >                ${WRKSRC}/src/addrbook_search_html.php.orig \
63 >                ${WRKSRC}/src/compose.php.orig
64   .endif
65          @${REINPLACE_CMD} -e 's|ispell|${LOCALBASE}/bin/ispell|g' \
66                  ${WRKSRC}/plugins/squirrelspell/sqspell_config.php
67 <        @${RM} ${WRKSRC}/plugins/squirrelspell/sqspell_config.php.bak
67 >        @${REINPLACE_CMD} -e 's|/usr/bin/fortune|/usr/games/fortune|g' \
68 >                ${WRKSRC}/plugins/fortune/fortune_functions.php
69 >        @${RM} ${WRKSRC}/plugins/squirrelspell/sqspell_config.php.bak \
70 >                ${WRKSRC}/plugins/fortune/fortune_functions.php.bak
71  
72   # Rearrange the documentation
73   do-build:
69 .for file in AUTHORS ChangeLog COPYING INSTALL README UPGRADE
70        @${MV} ${WRKSRC}/${file} ${WRKSRC}/doc/
71 .endfor
72        @${MV} ${WRKSRC}/ReleaseNotes ${WRKSRC}/doc/ReleaseNotes-${PORTVERSION}.txt
74          @${MV} ${WRKSRC}/themes/README.themes ${WRKSRC}/doc/
75          @cd ${WRKSRC} ; for f in `find plugins -name "README*" -or \
76                  -name INSTALL -or -name CHANGES -or -name HISTORY`; \
# Line 86 | Line 87 | do-build:
87          @${CP} -r ${WRKSRC}/../locale ${WRKSRC}
88          @${CP} -r ${WRKSRC}/../images ${WRKSRC}
89          @${CP} -r ${WRKSRC}/../help ${WRKSRC}
90 +        @${MV} ${WRKSRC}/config/config_local.php ${WRKSRC}/config/config_local.php.sample
91  
92 + pre-install:
93 +        @${ECHO} "Your umask should be lax while installing this. Like, 022 or something."
94 +        @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
95 +
96   do-install:
97          ${MKDIR} ${PREFIX}/etc/periodic/daily
98          ${INSTALL_SCRIPT} ${FILESDIR}/111.clean-squirrelmail ${PREFIX}/etc/periodic/daily
99          ${MKDIR} ${SQUIRRELDIR}
100 <        @${CP} -pv ${WRKSRC}/index.php ${SQUIRRELDIR}
101 <        @${CP} -pv ${WRKSRC}/configure ${SQUIRRELDIR}
100 >        ${CP} -pv ${WRKSRC}/index.php ${SQUIRRELDIR}
101 >        ${CP} -pv ${WRKSRC}/configure ${SQUIRRELDIR}
102   .for DIR in class config data functions help images include locale plugins po src themes
103 <        @${CP} -rpv ${WRKSRC}/${DIR} ${SQUIRRELDIR}
103 >        ${CP} -rpv ${WRKSRC}/${DIR} ${SQUIRRELDIR}
104   .endfor
105          ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/data
106   .if !defined(NOPORTDOCS)
107          ${MKDIR} ${DOCSDIR}
108 <        @${CP} -Rv ${WRKSRC}/doc/* ${DOCSDIR}
108 >        ${CP} -Rv ${WRKSRC}/doc/* ${DOCSDIR}
109   .endif
104
110  
111   .include <bsd.port.mk>

Comparing trunk/mail/squirrelmail/Makefile (property cvs2svn:cvs-rev):
Revision 3796 by laffer1, Wed Dec 19 01:59:33 2007 UTC vs.
Revision 10189 by laffer1, Wed Nov 10 17:01:20 2010 UTC

# Line 1 | Line 1
1 < 1.6
1 > 1.13

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines