summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-16 04:51:55 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-16 04:51:55 +0000
commit113a62e298da9bd59204aeeab5052e90f0442677 (patch)
tree6ab1608d9dbf5885c65ea50aabcf5781522acd5b /mail
parentnmap 3.27 -> 3.28 (diff)
There's no need for a pkg-install script. The work can be done with a
simple post-install.
Notes
Notes: svn path=/head/; revision=83095
Diffstat (limited to 'mail')
-rw-r--r--mail/evolution/Makefile8
-rw-r--r--mail/evolution/files/pkg-install.in14
2 files changed, 2 insertions, 20 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
index 6d320c1ed498..dad196f80877 100644
--- a/mail/evolution/Makefile
+++ b/mail/evolution/Makefile
@@ -93,11 +93,7 @@ pre-configure:
# 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
+ @${FIND} ${PREFIX}/share/gnome/evolution/${EVO_VERSION}/default_user \
+ -type f | ${XARGS} ${CHMOD} 0644
.include <bsd.port.mk>
diff --git a/mail/evolution/files/pkg-install.in b/mail/evolution/files/pkg-install.in
deleted file mode 100644
index 48eb5e85099b..000000000000
--- a/mail/evolution/files/pkg-install.in
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-PATH=/bin:/usr/bin:%%LOCALBASE%%/bin:/usr/local/bin:%%X11BASE%%/bin:/usr/X11R6/bin:${PKG_PREFIX}/bin
-export PATH
-
-if [ -n "${PACKAGE_BUILDING}" ]; then
- exit 0
-fi
-
-if [ "$2" = "POST-INSTALL" ]; then
- VERSION=`pkg-config --modversion evolution-shell | sed -E -e 's|\.[0-9]+$||'`
- find ${PKG_PREFIX}/share/gnome/evolution/${VERSION}/default_user -type f | xargs chmod 0644
- exit 0
-fi