Use variables instead of explicit calls. Also, make sure to to warn user

about /etc/shells rather then mucking with it ourselves.
This commit is contained in:
gene 1997-12-15 04:48:03 +00:00
parent 79fa7a9c3d
commit b022f103e5
2 changed files with 11 additions and 5 deletions

View File

@ -3,12 +3,13 @@
# Date created: 17 November 1997
# Whom: gene
#
# $OpenBSD: Makefile,v 1.3 1997/11/19 01:07:54 joey Exp $
# $OpenBSD: Makefile,v 1.4 1997/12/15 04:48:03 gene Exp $
#
DISTNAME= scsh-0.5.1
CATEGORIES= shells lang
MASTER_SITES= ftp://ftp-swiss.ai.mit.edu/pub/su/scsh/
STRIP=
MAINTAINER= gene@OpenBSD.ORG
@ -16,13 +17,18 @@ GNU_CONFIGURE= yes
ALL_TARGET= enough
MAN1= scsh.1
STRIP=
post-install:
@strip ${PREFIX}/bin/scsh
(cd ${WRKSRC} ; \
${INSTALL_DATA} README RELEASE NEWS COPYING ${PREFIX}/lib/scsh/doc)
${RM} -f ${PREFIX}/share/doc/scsh
ln -fs ${PREFIX}/lib/scsh/doc ${PREFIX}/share/doc/scsh
$(LN) -fs ${PREFIX}/lib/scsh/doc ${PREFIX}/share/doc/scsh
@$(ECHO)
@$(ECHO) "Finished installing $(DISTNAME)"
@$(ECHO) "To complete the install, you should notify the system"
@$(ECHO) "that $(PREFIX)/bin/scsh is a valid shell by adding it to"
@$(ECHO) "/etc/shells."
@$(ECHO) "If you are unfamiliar with this file, consult the shells(5)"
@$(ECHO) "manual page."
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
bin/scsh
man/man1/scsh.1.gz
man/man1/scsh.1
lib/scsh/big/array.scm
lib/scsh/big/big-util.scm
lib/scsh/big/bigbit.scm