freebsd-ports/shells/osh/Makefile
Martin Wilke 5317530b7f - Update to 20070324
Submitted by:   J.A. Neitzel <jneitzel@sdf1.org> (author)
2007-03-26 10:00:32 +00:00

25 lines
693 B
Makefile

# New ports collection makefile for: osh
# Date created: 29 December 2000
# Whom: George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#
PORTNAME= osh
PORTVERSION= 20070324
CATEGORIES= shells
MASTER_SITES= http://jneitzel.sdf1.org/osh/src/
MAINTAINER= miwi@FreeBSD.org
COMMENT= An implementation of the UNIX 6th Edition shell
MAN1= fd2.1 goto.1 if.1 osh.1 sh6.1 glob6.1
post-install:
@${ECHO_MSG} "updating ${DESTDIR}/etc/shells"
@${CP} ${DESTDIR}/etc/shells ${DESTDIR}/etc/shells.bak
@(${GREP} -v ${PREFIX}/bin/osh ${DESTDIR}/etc/shells.bak; \
${ECHO_CMD} ${PREFIX}/bin/osh) > ${DESTDIR}/etc/shells
@${RM} ${DESTDIR}/etc/shells.bak
.include <bsd.port.mk>