diff options
author | dsainty <dsainty@pkgsrc.org> | 2006-10-13 14:41:39 +0000 |
---|---|---|
committer | dsainty <dsainty@pkgsrc.org> | 2006-10-13 14:41:39 +0000 |
commit | 012ce79b704781c03496ae81a9a137d6700d847e (patch) | |
tree | af510808a19f0b7406e7ac943a1ebef8d472cb64 /mail/exmh/files | |
parent | a15329a7df736b10d142dc8540ccee519fe4a17a (diff) | |
download | pkgsrc-012ce79b704781c03496ae81a9a137d6700d847e.tar.gz |
Rather than use a separate install script, move the installation code into the
Makefile (like usual). As part of this, we can now use the various INSTALL_*
definitions instead of the hard-coded ones in the script.
The only functional change is that all the files are now installed with Pkgsrc
default ownership, instead of hard-coded "bin:bin". However, this does mean
that non-root installation can now work, which is a good thing.
Diffstat (limited to 'mail/exmh/files')
-rw-r--r-- | mail/exmh/files/install | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/mail/exmh/files/install b/mail/exmh/files/install deleted file mode 100644 index a13b9530918..00000000000 --- a/mail/exmh/files/install +++ /dev/null @@ -1,39 +0,0 @@ -#! /bin/sh -# -# $NetBSD: install,v 1.1 2001/10/26 11:46:55 agc Exp $ -# FreeBSD Id: install,v 1.2 1996/12/31 21:27:03 peter Exp -# - -VERSION="`sed -ne 's/^set vers \(.*\)/\1/p' ${WRKSRC}/exmh.install`" - -# Rename while installing.. -for i in exmh -do - echo "install -c -o bin -g bin -m 444 $i.l ${PREFIX}/man/man1/$i.1" - install -c -o bin -g bin -m 444 $i.l ${PREFIX}/man/man1/$i.1 -done - -BINS="exmh-async exmh-bg exmh ftp.expect" - -echo "install -c -o bin -g bin -m 755 ${BINS} ${PREFIX}/bin" -install -c -o bin -g bin -m 755 ${BINS} ${PREFIX}/bin - -if [ ! -d ${PREFIX}/lib/exmh-${VERSION} ] -then - echo "mkdir ${PREFIX}/lib/exmh-${VERSION}" - mkdir ${PREFIX}/lib/exmh-${VERSION} -fi - -LIBFILES='lib/PgpDecryptExpect lib/*.tcl lib/*.bitmap lib/*.ppm lib/help.* lib/tclIndex lib/app-defaults lib/app-defaults-* lib/*.mask lib/*.exp lib/mime.types lib/*.au lib/*.gif' - -echo "install -c -o bin -g bin -m 444 ${LIBFILES} ${PREFIX}/lib/exmh-${VERSION}" -install -c -o bin -g bin -m 444 ${LIBFILES} ${PREFIX}/lib/exmh-${VERSION} - -if [ ! -d ${PREFIX}/lib/exmh-${VERSION}/html ] -then - echo "mkdir ${PREFIX}/lib/exmh-${VERSION}/html" - mkdir ${PREFIX}/lib/exmh-${VERSION}/html -fi - -echo "install -c -o bin -g bin -m 444 lib/html/* ${PREFIX}/lib/exmh-${VERSION}/html" -install -c -o bin -g bin -m 444 lib/html/* ${PREFIX}/lib/exmh-${VERSION}/html |