summaryrefslogtreecommitdiffstats
path: root/lang/elk/Makefile
blob: cbe73dd3fbcc9c203f75181904c91810922bbb9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    elk
# Version required:     3.0pl2
# Date created:         08 March 1995
# Whom:                 thomas@ghpc8.ihf.rwth-aachen.de
#
# $Id: Makefile,v 1.11 1996/11/08 07:32:48 tg Exp $
#

DISTNAME=	elk-3.0
PKGNAME=	elk-3.0.2
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.uni-bremen.de/pub/programming/languages/scheme/elk/ \
		ftp://crl.dec.com/pub/X11/contrib/devel_tools/ \
		ftp://ftp.th-darmstadt.de/pub/X11/contrib/devel_tools/

MAINTAINER=	tg@freebsd.org

PATCH_STRIP=	-p1
ALL_TARGET=	default

#
# we install the scheme binary as ${PREFIX}/bin/elk
# to avoid a clash with mit-scheme.
#

pre-install:
	@mkdir -p ${PREFIX}/share/elk

post-install:
	@(cd ${PREFIX}/share/elk; \
	  cp bin/scheme ${PREFIX}/bin/elk; \
	  mkdir -p ${PREFIX}/include/elk; \
	  cp -R include/* ${PREFIX}/include/elk; \
	  rm -rf bin include)
	@install -c -o bin -g bin -m 444 ${WRKSRC}/doc/man/elk.1 ${PREFIX}/man/man1
.if !defined(NOMANCOMPRESS)
	@gzip -9nf ${PREFIX}/man/man1/elk.1
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud