diff options
author | jlam <jlam@pkgsrc.org> | 2003-08-30 18:53:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-08-30 18:53:07 +0000 |
commit | e56730c7c4e3508f3bc5522ef35bf0230eea4687 (patch) | |
tree | 47b9e0c38b86d1d8ff71921d9287f16606616a0b /emulators/compat12/INSTALL | |
parent | a1da828c6422d38eded793e9bbe0cc3eb284d327 (diff) | |
download | pkgsrc-e56730c7c4e3508f3bc5522ef35bf0230eea4687.tar.gz |
Convert to use bsd.pkg.install.mk.
Diffstat (limited to 'emulators/compat12/INSTALL')
-rw-r--r-- | emulators/compat12/INSTALL | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/emulators/compat12/INSTALL b/emulators/compat12/INSTALL index 0b998384cf2..41d5c283040 100644 --- a/emulators/compat12/INSTALL +++ b/emulators/compat12/INSTALL @@ -1,13 +1,6 @@ -#!/bin/sh -# -# $NetBSD: INSTALL,v 1.1 2001/10/31 23:52:20 zuntum Exp $ - -PKGNAME=$1 -STAGE=$2 +# $NetBSD: INSTALL,v 1.2 2003/08/30 18:53:07 jlam Exp $ case ${STAGE} in -PRE-INSTALL) - ;; POST-INSTALL) MACHINE_ARCH=@MACHINE_ARCH@ OBJECT_FMT=@OBJECT_FMT@ @@ -33,7 +26,7 @@ POST-INSTALL) if [ -e /emul/$emul -o -L /emul/$emul ] || \ [ \( -e /emul -o -L /emul \) -a ! -d /emul ] then - cat <<EOF + ${CAT} <<EOF ============================================================================== IMPORTANT: You must create a symbolic link from /emul/$emul to ${PKG_PREFIX}/emul/$emul in order for this package to work @@ -43,8 +36,8 @@ POST-INSTALL) ============================================================================== EOF else - mkdir -p /emul - ln -sf ${PKG_PREFIX}/emul/$emul /emul/$emul + ${MKDIR} -p /emul + ${LN} -sf ${PKG_PREFIX}/emul/$emul /emul/$emul fi fi fi @@ -52,11 +45,6 @@ EOF # Regenerate the shared library cache. This should work on either # a.out or on ELF with the 1.5 release. # - ( @LDCONFIG@ || true ) >/dev/null 2>&1 - ;; -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1 ;; esac -exit 0 |