summaryrefslogtreecommitdiff
path: root/lang/elk/Makefile
blob: 19a17f87ea4c853ecaff2f5d9887027b147f7550 (plain) (blame)
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
# New ports collection makefile for:    elk
# Version required:     2.2
# Date created:         08 March 1995
# Whom:                 thomas@ghpc8.ihf.rwth-aachen.de
#
# $Id$
#

DISTNAME=       elk-2.2
CATEGORIES+=	languages
MASTER_SITES=	ftp://ftp.x.org/contrib/devel_tools/

MAINTAINER=	thomas@ghpc8.ihf.rwth-aachen.de

PATCH_STRIP=	-p1
ALL_TARGET=	default

#
# /usr/local/lib/elk is built into the port.
# change it in ${WRKSRC}/config/site if you change it here and vice versa.
# i also renamed /usr/local/bin/scheme to /usr/local/bin/elk
# to avoid a clash with mit-scheme.
#

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

post-install:
	@(cd ${PREFIX}/lib/elk; \
	  mv bin/scheme ${PREFIX}/bin/elk; \
	  mkdir -p ${PREFIX}/include/elk; \
	  mv include/*.h ${PREFIX}/include/elk; \
	  rmdir bin include)
	@install -c -o bin -g bin -m 444 ${WRKSRC}/doc/man/elk.1 ${PREFIX}/man/man1
	@gzip -9nf ${PREFIX}/man/man1/elk.1

.include <bsd.port.mk>