diff options
author | bapt <bapt@FreeBSD.org> | 2013-12-27 17:07:38 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-12-27 17:07:38 +0800 |
commit | 19683fe416259ac935cd0bc5cfab6115b275e000 (patch) | |
tree | b454cbb441b67f9855ab85d1e5eba16bf2f95b2b | |
parent | 263de5999ce22c33c3a9d1172a7ab36a0043a5e2 (diff) | |
download | freebsd-ports-gnome-19683fe416259ac935cd0bc5cfab6115b275e000.tar.gz freebsd-ports-gnome-19683fe416259ac935cd0bc5cfab6115b275e000.tar.zst freebsd-ports-gnome-19683fe416259ac935cd0bc5cfab6115b275e000.zip |
Support stage
Mark as broken on every version not having fs/ntfs/ntfsmount.h
-rw-r--r-- | shells/sash/Makefile | 18 |
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> |