PORTNAME= fish
PORTVERSION= 1.23.1
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= shells
MASTER_SITES= SF
${ECHO_CMD} '${PREFIX}/bin/${PORTNAME}' >> /etc/shells; \
fi
post-deinstall:
${CP} /etc/shells /etc/shells.bak
${GREP} -v '${PREFIX}/bin/${PORTNAME}' /etc/shells.bak \
>> /etc/shells
${RM} -f /etc/shells.bak
.include <bsd.port.post.mk>
#!/bin/sh
if [ "$2" = "DEINSTALL" ]; then
/bin/cp /etc/shells /etc/shells.bak
/usr/bin/grep -v '/usr/local/bin/fish' /etc/shells.bak >> /etc/shells
/bin/rm -f /etc/shells.bak