2000-01-29 17:36:06 -05:00
|
|
|
# New ports collection makefile for: sash
|
|
|
|
# Date created: Jan 22, 2000
|
|
|
|
# Whom: Patrick Gardella <patrick@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 14:34:06 -04:00
|
|
|
PORTNAME= sash
|
2000-04-21 04:19:33 -04:00
|
|
|
PORTVERSION= 3.4
|
2000-01-29 17:36:06 -05:00
|
|
|
CATEGORIES= shells
|
|
|
|
MASTER_SITES= http://www.pcug.org.au/~dbell/programs/ \
|
2000-06-29 03:03:02 -04:00
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= 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; \
|
2002-01-29 06:58:52 -05:00
|
|
|
${ECHO_CMD} ${PREFIX}/bin/sash) > /etc/shells
|
2000-01-29 17:36:06 -05:00
|
|
|
@${RM} /etc/shells.bak
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|