summaryrefslogtreecommitdiffstats
path: root/mail/evolution/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-06-13 00:51:15 +0000
committermarcus <marcus@FreeBSD.org>2003-06-13 00:51:15 +0000
commitdc10ed9dd648c9914ef913694081a03e0feeb001 (patch)
tree464ff205a086a3403cb359abf1d7f89fcca3ae8d /mail/evolution/Makefile
parent5502d66777bef6ca54510bb8ec7fe35376eb0d28 (diff)
downloadFreeBSD-ports-dc10ed9dd648c9914ef913694081a03e0feeb001.zip
FreeBSD-ports-dc10ed9dd648c9914ef913694081a03e0feeb001.tar.gz
Fix a problem where new accounts were being created with read-only mailboxes.
Diffstat (limited to 'mail/evolution/Makefile')
-rw-r--r--mail/evolution/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
index 076111c..6d320c1 100644
--- a/mail/evolution/Makefile
+++ b/mail/evolution/Makefile
@@ -7,6 +7,7 @@
PORTNAME= evolution
PORTVERSION= 1.4.0
+PORTREVISION= 1
CATEGORIES= mail gnome
MASTER_SITES= ${MASTER_SITE_GNOME} \
http://people.FreeBSD.org/~sobomax/:local
@@ -42,7 +43,8 @@ CONFIGURE_ARGS= --with-db3-libs=${DB3_WRKSRC} \
--with-db3-includes=${DB3_WRKSRC} \
--enable-nss=no \
--enable-openssl=yes
-CONFLICTS= evolution-1.2*
+
+EVO_VERSION= "1.4"
.if defined(WITH_LDAP)
CONFIGURE_ARGS+= --with-openldap=${LOCALBASE}
@@ -58,7 +60,8 @@ PLIST_SUB= PILOT:="@comment "
CONFIGURE_ENV= CPPFLAGS="-I${DB3_WRKSRC} -I${LOCALBASE}/include" \
LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
-PLIST_SUB+= VERSION="1.4"
+PLIST_SUB+= VERSION=${EVO_VERSION}
+PKGINSTALL= ${WRKDIR}/pkg-install
post-patch:
@${FIND} ${WRKSRC} -type f -name "*.[ch]" | ${XARGS} ${GREP} -l '<db.h>' | \
@@ -89,4 +92,12 @@ pre-configure:
@${LN} -s . ${DB3_WRKSRC}/db3
# End of the DB3 stuff
+post-install:
+ @${SED} -e 's|%%X11BASE%%|${X11BASE}|; \
+ s|%%LOCALBASE%%|${LOCALBASE}|' < ${FILESDIR}/pkg-install.in \
+ > ${PKGINSTALL}
+.if !defined(PACKAGE_BUILDING)
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+.endif
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud