summaryrefslogtreecommitdiffstats
path: root/mail/evolution
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-02-20 14:42:27 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-02-20 14:42:27 +0800
commitd199756acf5bf01eef79f2b92e472816893a5fac (patch)
tree11e376d990a6b395953233fcd3dd6543d4644606 /mail/evolution
parent002ffbcf79d007e956bd2cce54c90f9e31a1d43f (diff)
downloadmarcuscom-ports-d199756acf5bf01eef79f2b92e472816893a5fac.tar
marcuscom-ports-d199756acf5bf01eef79f2b92e472816893a5fac.tar.gz
marcuscom-ports-d199756acf5bf01eef79f2b92e472816893a5fac.tar.bz2
marcuscom-ports-d199756acf5bf01eef79f2b92e472816893a5fac.tar.lz
marcuscom-ports-d199756acf5bf01eef79f2b92e472816893a5fac.tar.xz
marcuscom-ports-d199756acf5bf01eef79f2b92e472816893a5fac.tar.zst
marcuscom-ports-d199756acf5bf01eef79f2b92e472816893a5fac.zip
Use new ldconfig world order, and add USE_GETTEXT to appease portlint.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5714 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail/evolution')
-rw-r--r--mail/evolution/Makefile18
-rw-r--r--mail/evolution/files/evolibs.sh15
-rw-r--r--mail/evolution/pkg-plist1
3 files changed, 9 insertions, 25 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
index 763a5d653..73d104ec5 100644
--- a/mail/evolution/Makefile
+++ b/mail/evolution/Makefile
@@ -3,11 +3,12 @@
# Whom: Ade Lovett <ade@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/mail/evolution/Makefile,v 1.88 2006/01/31 20:36:50 marcus Exp $
+# $MCom: ports/mail/evolution/Makefile,v 1.89 2006/02/14 18:02:16 marcus Exp $
#
PORTNAME= evolution
PORTVERSION= 2.5.91
+PORTREVISION= 1
CATEGORIES= mail gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.5
@@ -22,11 +23,14 @@ RUN_DEPENDS= ${X11BASE}/lib/gnome-spell/libgnome-spell-component-0.3.so:${PORTSD
USE_BZIP2= yes
USE_GMAKE= yes
USE_BISON= yes
+USE_GETTEXT= yes
USE_X_PREFIX= yes
USE_GNOME= gnomeprefix gnomehack intlhack evolutiondataserver \
gtkhtml3 desktopfileutils
USE_AUTOTOOLS= libtool:15
INSTALLS_OMF= yes
+INSTALLS_SHLIB= yes
+LDCONFIG_DIRS= %%PREFIX%%/lib/evolution/%%VERSION%%
CONFIGURE_ARGS= --enable-nss=yes \
--with-nss-includes=${LOCALBASE}/include/nss/nss \
--with-nss-libs=${LOCALBASE}/lib \
@@ -53,6 +57,9 @@ OPTIONS= PILOT "Enable Palm Pilot sync support" off \
.include <bsd.port.pre.mk>
+USE_LDCONFIG= ${PREFIX}/lib/evolution/${EVO_VERSION}
+.include "${PORTSDIR}/misc/ldconfig_compat/bsd.ldconfig.mk"
+
.if defined(PACKAGE_BUILDING) || defined(PARALLEL_PACKAGE_BUILD)
WITH_GSTREAMER= yes
WITH_DBUS= yes
@@ -112,16 +119,9 @@ CONFIGURE_ARGS+= --with-krb5=${LOCALBASE}
.endif
.endif
-post-patch:
- @${SED} -e 's|%%PREFIX%%|${PREFIX}| ; \
- s|%%EVO_VERSION%%|${EVO_VERSION}|' \
- ${FILESDIR}/evolibs.sh > ${WRKDIR}/evolibs.sh
-
-post-install:
+post-install: install-ldconfig-file
@${LN} -sf ${PREFIX}/bin/evolution-${EVO_VERSION} \
${PREFIX}/bin/evolution
- @${INSTALL_SCRIPT} -m 555 ${WRKDIR}/evolibs.sh \
- ${PREFIX}/etc/rc.d/000.evolibs.sh
-@update-desktop-database
.include <bsd.port.post.mk>
diff --git a/mail/evolution/files/evolibs.sh b/mail/evolution/files/evolibs.sh
deleted file mode 100644
index e191b9c41..000000000
--- a/mail/evolution/files/evolibs.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-case "$1" in
- start)
- /sbin/ldconfig -m %%PREFIX%%/lib/evolution/%%EVO_VERSION%%
- ;;
- stop)
- ;;
- *)
- echo ""
- echo "Usage: `basename $0` { start | stop }"
- echo ""
- exit 64
- ;;
-esac
diff --git a/mail/evolution/pkg-plist b/mail/evolution/pkg-plist
index 1eb215fe2..cdb6daf2e 100644
--- a/mail/evolution/pkg-plist
+++ b/mail/evolution/pkg-plist
@@ -1,6 +1,5 @@
bin/evolution
bin/evolution-%%VERSION%%
-etc/rc.d/000.evolibs.sh
include/evolution-%%VERSION%%/a11y/e-table/gal-a11y-e-cell-popup.h
include/evolution-%%VERSION%%/a11y/e-table/gal-a11y-e-cell-registry.h
include/evolution-%%VERSION%%/a11y/e-table/gal-a11y-e-cell-text.h