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> |