diff options
author | miwi <miwi@FreeBSD.org> | 2009-12-12 21:48:21 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-12-12 21:48:21 +0800 |
commit | e92339e1a2bc554cd139de1e9006fc4ee68610bd (patch) | |
tree | 58185283d293a96621e4f12cb9c4798fc618e433 /shells/osh/Makefile | |
parent | b1737b273512a92a472da55300087f8725f63209 (diff) | |
download | freebsd-ports-gnome-e92339e1a2bc554cd139de1e9006fc4ee68610bd.tar.gz freebsd-ports-gnome-e92339e1a2bc554cd139de1e9006fc4ee68610bd.tar.zst freebsd-ports-gnome-e92339e1a2bc554cd139de1e9006fc4ee68610bd.zip |
- Update to 20091127
PR: 141396
Submitted by: Sahil Tandon <sahil@tandon.net>
Diffstat (limited to 'shells/osh/Makefile')
-rw-r--r-- | shells/osh/Makefile | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/shells/osh/Makefile b/shells/osh/Makefile index 131086bf5b62..dd20ead1323b 100644 --- a/shells/osh/Makefile +++ b/shells/osh/Makefile @@ -6,7 +6,7 @@ # PORTNAME= osh -DISTVERSION= 20090527 +DISTVERSION= 20091127 CATEGORIES= shells MASTER_SITES= http://v6shell.org/src/ \ http://freebsd.unixfreunde.de/sources/ @@ -14,8 +14,33 @@ MASTER_SITES= http://v6shell.org/src/ \ MAINTAINER= miwi@FreeBSD.org COMMENT= An implementation of the UNIX 6th Edition shell +MAKE_ENV+= DOCDIR=${DOCSDIR} \ + DESTEXPDIR=${EXAMPLESDIR} \ + MANDIR=${MANPREFIX}/man/man1 + MAN1= fd2.1 goto.1 if.1 osh.1 sh6.1 glob6.1 +PORTDOCS= * +PORTEXAMPLES= * + +.include <bsd.port.pre.mk> + +post-patch: + @${REINPLACE_CMD} -E -e 's|(DESTEXPDIR)=|\1?=|' \ + ${WRKSRC}/Makefile +.if defined(NOPORTDOCS) + @${REINPLACE_CMD} -e /^install-doc/d \ + -e /\ $$\(DESTDOCDIR\)/d \ + -e 's/install-doc//' \ + ${WRKSRC}/Makefile +.endif +.if defined(NOPORTEXAMPLES) + @${REINPLACE_CMD} -e /^install-exp/d \ + -e /\ $$\(DESTEXPDIR\)/d \ + -e 's/install-exp//' \ + ${WRKSRC}/Makefile +.endif + post-install: @${ECHO_MSG} "updating /etc/shells" @${CP} /etc/shells /etc/shells.bak @@ -23,4 +48,4 @@ post-install: ${ECHO_CMD} ${PREFIX}/bin/osh) > /etc/shells @${RM} /etc/shells.bak -.include <bsd.port.mk> +.include <bsd.port.post.mk> |