View | Details | Raw Unified | Return to bug 141396
Collapse All | Expand All

(-)Makefile (-2 / +27 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	osh
8
PORTNAME=	osh
9
DISTVERSION=	20090527
9
DISTVERSION=	20091127
10
CATEGORIES=	shells
10
CATEGORIES=	shells
11
MASTER_SITES=	http://v6shell.org/src/ \
11
MASTER_SITES=	http://v6shell.org/src/ \
12
		http://freebsd.unixfreunde.de/sources/
12
		http://freebsd.unixfreunde.de/sources/
Lines 14-21 Link Here
14
MAINTAINER=	miwi@FreeBSD.org
14
MAINTAINER=	miwi@FreeBSD.org
15
COMMENT=	An implementation of the UNIX 6th Edition shell
15
COMMENT=	An implementation of the UNIX 6th Edition shell
16
16
17
MAKE_ENV+=	DOCDIR=${DOCSDIR} \
18
		DESTEXPDIR=${EXAMPLESDIR} \
19
		MANDIR=${MANPREFIX}/man/man1
20
17
MAN1=		fd2.1 goto.1 if.1 osh.1 sh6.1 glob6.1
21
MAN1=		fd2.1 goto.1 if.1 osh.1 sh6.1 glob6.1
18
22
23
PORTDOCS=	*
24
PORTEXAMPLES=	*
25
26
.include <bsd.port.pre.mk>
27
28
post-patch:
29
	@${REINPLACE_CMD} -E -e 's|(DESTEXPDIR)=|\1?=|' \
30
		${WRKSRC}/Makefile
31
.if defined(NOPORTDOCS)
32
	@${REINPLACE_CMD} -e /^install-doc/d \
33
		-e /\ $$\(DESTDOCDIR\)/d \
34
		-e 's/install-doc//' \
35
		${WRKSRC}/Makefile
36
.endif
37
.if defined(NOPORTEXAMPLES)
38
	@${REINPLACE_CMD} -e /^install-exp/d \
39
		-e /\ $$\(DESTEXPDIR\)/d \
40
		-e 's/install-exp//' \
41
		${WRKSRC}/Makefile
42
.endif
43
19
post-install:
44
post-install:
20
	@${ECHO_MSG} "updating /etc/shells"
45
	@${ECHO_MSG} "updating /etc/shells"
21
	@${CP} /etc/shells /etc/shells.bak
46
	@${CP} /etc/shells /etc/shells.bak
Lines 23-26 Link Here
23
	 ${ECHO_CMD} ${PREFIX}/bin/osh) > /etc/shells
48
	 ${ECHO_CMD} ${PREFIX}/bin/osh) > /etc/shells
24
	@${RM} /etc/shells.bak
49
	@${RM} /etc/shells.bak
25
50
26
.include <bsd.port.mk>
51
.include <bsd.port.post.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (osh-20090527.tar.gz) = 179f79cfe6eb30036189e5ff111aa4ec
1
MD5 (osh-20091127.tar.gz) = 3af1073896d5ce099ce0b09f156ffdfc
2
SHA256 (osh-20090527.tar.gz) = 3fb3337d2b3264331ff1542de8ae675a6d77245c70d2bff8e07dee204a1d39ab
2
SHA256 (osh-20091127.tar.gz) = 250b3e2bd4a8e2dd9eb9ed4d50e4839ee03427a9b04c0b97e92a889e6dc433f4
3
SIZE (osh-20090527.tar.gz) = 92440
3
SIZE (osh-20091127.tar.gz) = 98780

Return to bug 141396