summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-06-16 04:51:55 +0000
committermarcus <marcus@FreeBSD.org>2003-06-16 04:51:55 +0000
commitc33ac8c8d2de46396f11898f178e382c527fadb9 (patch)
tree6a7ec3deec6e9f7be187ff42241b2186ff757ef7
parentf2f3bb05c696aae1d309420c9fe92165f0a7c942 (diff)
downloadFreeBSD-ports-c33ac8c8d2de46396f11898f178e382c527fadb9.zip
FreeBSD-ports-c33ac8c8d2de46396f11898f178e382c527fadb9.tar.gz
There's no need for a pkg-install script. The work can be done with a
simple post-install.
-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 6d320c1..dad196f 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 48eb5e8..0000000
--- 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
OpenPOWER on IntegriCloud