aboutsummaryrefslogtreecommitdiff
path: root/shells/sash
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-12-27 09:07:38 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-12-27 09:07:38 +0000
commitaa2bdeae85c188d986a5447d7f74968999bb0559 (patch)
treeb454cbb441b67f9855ab85d1e5eba16bf2f95b2b /shells/sash
parent7b723a44c1a066a6a4b522b21e62f91a2b0148c1 (diff)
downloadports-aa2bdeae85c188d986a5447d7f74968999bb0559.tar.gz
ports-aa2bdeae85c188d986a5447d7f74968999bb0559.zip
Support stage
Mark as broken on every version not having fs/ntfs/ntfsmount.h
Notes
Notes: svn path=/head/; revision=337657
Diffstat (limited to 'shells/sash')
-rw-r--r--shells/sash/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/shells/sash/Makefile b/shells/sash/Makefile
index 19f2c610f128..b87278464c23 100644
--- a/shells/sash/Makefile
+++ b/shells/sash/Makefile
@@ -7,20 +7,14 @@ CATEGORIES= shells
MASTER_SITES= http://members.tip.net.au/~dbell/programs/
MAINTAINER= ports@FreeBSD.org
-COMMENT= A Stand-Alone shell combining many common utilities
+COMMENT= Stand-Alone shell combining many common utilities
-MAN1= sash.1
+.if !exists(/usr/include/fs/ntfs/ntfsmount.h)
+BROKEN= Depends on fs/ntfs/ntfsmount.h
+.endif
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/sash ${PREFIX}/bin/sash
- ${INSTALL_MAN} ${WRKSRC}/sash.1 ${MAN1PREFIX}/man/man1/sash.1
-
-post-install:
- @${ECHO_MSG} "Updating /etc/shells"
- @${CP} /etc/shells /etc/shells.bak
- @(${GREP} -v ${PREFIX}/bin/sash /etc/shells.bak; \
- ${ECHO_CMD} ${PREFIX}/bin/sash) > /etc/shells
- @${RM} /etc/shells.bak
+ ${INSTALL_PROGRAM} ${WRKSRC}/sash ${STAGEDIR}${PREFIX}/bin/sash
+ ${INSTALL_MAN} ${WRKSRC}/sash.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/sash.1
.include <bsd.port.mk>