1995-03-09 10:16:20 +00:00
|
|
|
# New ports collection makefile for: elk
|
|
|
|
# Version required: 2.2
|
|
|
|
# Date created: 08 March 1995
|
|
|
|
# Whom: thomas@ghpc8.ihf.rwth-aachen.de
|
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= elk-2.2
|
1995-04-01 12:51:41 +00:00
|
|
|
CATEGORIES+= languages
|
1995-04-15 05:44:50 +00:00
|
|
|
MASTER_SITES= ftp://ftp.x.org/contrib/devel_tools/
|
|
|
|
|
|
|
|
MAINTAINER= thomas@ghpc8.ihf.rwth-aachen.de
|
|
|
|
|
1995-03-09 10:16:20 +00:00
|
|
|
PATCH_STRIP= -p1
|
1995-04-11 23:28:11 +00:00
|
|
|
ALL_TARGET= default
|
1995-03-09 10:16:20 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# /usr/local/lib/elk is built into the port.
|
|
|
|
# change it in ${WRKSRC}/config/site if you change it here and vice versa.
|
1995-04-11 23:28:11 +00:00
|
|
|
# i also renamed /usr/local/bin/scheme to /usr/local/bin/elk
|
|
|
|
# to avoid a clash with mit-scheme.
|
1995-03-09 10:16:20 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
pre-install:
|
1995-04-11 23:28:11 +00:00
|
|
|
@mkdir -p ${PREFIX}/bin
|
|
|
|
@mkdir -p ${PREFIX}/include
|
|
|
|
@mkdir -p ${PREFIX}/man/man1
|
1995-03-09 10:16:20 +00:00
|
|
|
@mkdir -p ${PREFIX}/lib/elk
|
|
|
|
|
|
|
|
install: build
|
|
|
|
@echo "===> Installing for ${DISTNAME}"
|
|
|
|
@${MAKE} ${MAKEFLAGS} pre-install
|
|
|
|
@(cd ${WRKSRC}; ${MAKE} PREFIX=${PREFIX} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
|
1995-04-11 23:28:11 +00:00
|
|
|
@(cd /usr/local/lib/elk; \
|
|
|
|
mv bin/scheme ${PREFIX}/bin/elk; \
|
|
|
|
mkdir -p ${PREFIX}/include/elk; \
|
|
|
|
mv include/*.h ${PREFIX}/include/elk; \
|
1995-03-09 10:16:20 +00:00
|
|
|
rmdir bin include)
|
1995-04-11 23:28:11 +00:00
|
|
|
@install -c -o bin -g bin -m 444 ${WRKSRC}/doc/man/elk.1 ${PREFIX}/man/man1
|
1995-03-09 10:16:20 +00:00
|
|
|
@${TOUCH} ${TOUCH_FLAGS} ${INSTALL_COOKIE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|