2000-01-29 17:36:06 -05:00
|
|
|
# New ports collection makefile for: sash
|
|
|
|
# Version required: 3.4
|
|
|
|
# Date created: Jan 22, 2000
|
|
|
|
# Whom: Patrick Gardella <patrick@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= sash-3.4
|
|
|
|
CATEGORIES= shells
|
|
|
|
MASTER_SITES= http://www.pcug.org.au/~dbell/programs/ \
|
2000-02-08 04:29:51 -05:00
|
|
|
http://people.FreeBSD.org/~patrick/
|
2000-01-29 17:36:06 -05:00
|
|
|
|
|
|
|
MAINTAINER= patrick@freebsd.org
|
|
|
|
|
|
|
|
MAN1= sash.1
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sash ${PREFIX}/bin/sash
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/sash.1 ${PREFIX}/man/man1/sash.1
|
|
|
|
@${ECHO_MSG} "------------------"
|
|
|
|
@${ECHO_MSG} "Installing into ${PREFIX}/bin"
|
|
|
|
@${ECHO_MSG} "If you want this installed elsewhere, "
|
|
|
|
@${ECHO_MSG} "set the environmental variable PREFIX"
|
|
|
|
@${ECHO_MSG} "------------------"
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${ECHO_MSG} "Updating /etc/shells"
|
|
|
|
@${CP} /etc/shells /etc/shells.bak
|
|
|
|
@(${GREP} -v ${PREFIX}/bin/sash /etc/shells.bak; \
|
|
|
|
${ECHO} ${PREFIX}/bin/sash) > /etc/shells
|
|
|
|
@${RM} /etc/shells.bak
|
|
|
|
strip ${PREFIX}/bin/sash
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|