Lines 1-7
Link Here
|
1 |
# New ports collection makefile for: elk |
1 |
# New ports collection makefile for: elk |
2 |
# Version required: 3.0pl3 |
2 |
# Version required: 3.0pl3 |
3 |
# Date created: 08 March 1995 |
3 |
# Date created: 08 March 1995 |
4 |
# Whom: Thomas Gellekum <tg@FreeBSD.org> |
4 |
# Whom: Thomas Gellekum <tg@FreeBSD.org> |
5 |
# |
5 |
# |
6 |
# $FreeBSD: ports/lang/elk/Makefile,v 1.21 1999/12/23 18:50:09 steve Exp $ |
6 |
# $FreeBSD: ports/lang/elk/Makefile,v 1.21 1999/12/23 18:50:09 steve Exp $ |
7 |
# |
7 |
# |
Lines 17-36
Link Here
|
17 |
ALL_TARGET= default |
17 |
ALL_TARGET= default |
18 |
MAN1= elk.1 |
18 |
MAN1= elk.1 |
19 |
|
19 |
|
20 |
# |
20 |
post-patch: |
21 |
# we install the scheme binary as ${PREFIX}/bin/elk |
21 |
@${CP} ${WRKSRC}/config/untested/386pc-freebsd2.1-cc \ |
22 |
# to avoid a clash with mit-scheme. |
22 |
${WRKSRC}/config/system |
23 |
# |
23 |
@${CP} ${WRKSRC}/config/sites/386pc-freebsd2.1 \ |
|
|
24 |
${WRKSRC}/config/site |
24 |
|
25 |
|
25 |
pre-install: |
26 |
pre-install: |
26 |
@${MKDIR} ${PREFIX}/share/elk |
27 |
@${MKDIR} ${PREFIX}/share/elk |
27 |
|
28 |
|
|
|
29 |
# |
30 |
# we install the scheme binary as ${PREFIX}/bin/elk |
31 |
# to avoid a clash with mit-scheme. |
32 |
# |
28 |
post-install: |
33 |
post-install: |
29 |
@(cd ${PREFIX}/share/elk; \ |
34 |
${INSTALL_PROGRAM} ${PREFIX}/share/elk/bin/scheme ${PREFIX}/bin/elk |
30 |
${CP} bin/scheme ${PREFIX}/bin/elk; \ |
35 |
@${MKDIR} ${PREFIX}/include/elk |
31 |
${MKDIR} ${PREFIX}/include/elk; \ |
36 |
${CP} -R ${PREFIX}/share/elk/include/* ${PREFIX}/include/elk |
32 |
${CP} -R include/* ${PREFIX}/include/elk; \ |
37 |
.for dir in bin include |
33 |
${RM} -rf bin include) |
38 |
@${RM} -rf ${PREFIX}/share/elk/${dir} |
|
|
39 |
.endfor |
34 |
@${INSTALL_MAN} ${WRKSRC}/doc/man/elk.1 ${PREFIX}/man/man1 |
40 |
@${INSTALL_MAN} ${WRKSRC}/doc/man/elk.1 ${PREFIX}/man/man1 |
35 |
|
41 |
|
36 |
.include <bsd.port.mk> |
42 |
.include <bsd.port.mk> |