summaryrefslogtreecommitdiff
path: root/lang/scm/Makefile
blob: 4265737088536fda0caeb2ae8057b0a10405d7ea (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
# New ports collection makefile for:    scm
# Version required:     4e1
# Date created:         Sat Nov  5 17:11:01 PST 1994
# Whom:                 hsu
#
# $Id: Makefile,v 1.3 1995/03/28 04:32:31 gpalmer Exp $
#

DISTNAME=       scm
MASTER_SITES=   ftp://swiss-ftp.ai.mit.edu/pub/scm/
CATEGORIES+=	languages
DISTFILES=      scm4e1.tar.gz \
		slib.info.tar.gz slib2a2.tar.gz slib-psd1-3.tar.gz \
		scmconfig4e1.tar.gz
GNU_CONFIGURE=
USE_GMAKE=
MAKE_FLAGS=	CFLAGS=-O2 LDFLAGS=-s defines="-DSICP -DHAVE_CONFIG_H -DFLOATS -DIO_EXTENSIONS -DMEMOIZE_LOCALS -DGC_FREE_SEGMENTS" -f

pre-install:
	@if [ ! -e ${PREFIX}/lib ]; then mkdir -p ${PREFIX}/lib; fi
	cp -rp ${WRKDIR}/slib ${PREFIX}/lib
	@if [ ! -e /usr/local/info ]; then mkdir -p /usr/local/info; fi
	(cd ${WRKDIR}/slib; \
		install -c -m 444 slib.info slib.info-1 slib.info-2 \
				  slib.info-3 slib.info-4 /usr/local/info)

.include <bsd.port.mk>