Index: head/shells/heirloom-sh/pkg-deinstall =================================================================== --- head/shells/heirloom-sh/pkg-deinstall (revision 520469) +++ head/shells/heirloom-sh/pkg-deinstall (nonexistent) @@ -1,22 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -JSH="$(echo ${PKG_PREFIX-/usr/local}/bin/jsh | /usr/bin/sed -e 's|//|/|g')" -SHELLS="${PKG_DESTDIR-}/etc/shells" - -case $2 in -DEINSTALL) - if grep -qs "^$JSH\$" "$SHELLS"; then - if [ $(id -u) -eq 0 ]; then - TMPSHELLS=$(mktemp -t shells) - grep -v "^$JSH\$" "$SHELLS" > "$TMPSHELLS" - cat "$TMPSHELLS" > "$SHELLS" - rm "$TMPSHELLS" - else - echo "Not root, please remove $JSH from $SHELLS manually" - fi - fi - ;; -esac Property changes on: head/shells/heirloom-sh/pkg-deinstall ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/shells/heirloom-sh/pkg-install =================================================================== --- head/shells/heirloom-sh/pkg-install (revision 520469) +++ head/shells/heirloom-sh/pkg-install (nonexistent) @@ -1,19 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -JSH="$(echo ${PKG_PREFIX-/usr/local}/bin/jsh | /usr/bin/sed -e 's|//|/|g')" -SHELLS="/etc/shells" - -case $2 in -POST-INSTALL) - if [ -d "${SHELLS%/*}" ] && ! grep -qs "^$JSH\$" "$SHELLS"; then - if [ $(id -u) -eq 0 ]; then - echo "$JSH" >> "$SHELLS" - else - echo "Not root, please add $JSH to $SHELLS manually" - fi - fi - ;; -esac Property changes on: head/shells/heirloom-sh/pkg-install ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/shells/heirloom-sh/Makefile =================================================================== --- head/shells/heirloom-sh/Makefile (revision 520469) +++ head/shells/heirloom-sh/Makefile (revision 520470) @@ -1,31 +1,29 @@ # Created by: Danijel Tasov # $FreeBSD$ PORTNAME= heirloom-sh PORTVERSION= 050706 +PORTREVISION= 1 CATEGORIES= shells MASTER_SITES= SF/heirloom/${PORTNAME}/${PORTVERSION} MAINTAINER= danielt@pilgerer.org COMMENT= Portable version of OpenSolaris' Bourne Shell BROKEN_aarch64= Fails to link: missing sbrk USES= tar:bzip2 MAKEFILE= makefile -PLIST_FILES= bin/jsh \ +PLIST_FILES= "@shell bin/jsh" \ man/man1/jsh.1.gz PORTDOCS= CALDERA.LICENSE OPENSOLARIS.LICENSE CHANGES README - -PKGINSTALL= pkg-install -PKGDEINSTALL= pkg-deinstall OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/jsh ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/sh.1.out ${STAGEDIR}${MANPREFIX}/man/man1/jsh.1 @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include