aboutsummaryrefslogtreecommitdiffstats
path: root/lang/scm/Makefile
blob: d40fdef8f81c7654d71ca666d706fffb72a2d68e (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
# 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.12 1998/02/01 22:46:18 fenner Exp $
#

DISTNAME=       scm
PKGNAME=    scm-4e1
CATEGORIES= lang
MASTER_SITES=   ftp://ftp.swiss.ai.mit.edu/archive/scm/OLD/ \
        ftp://swiss-ftp.ai.mit.edu/pub/scm/ \
        ftp://swiss-ftp.ai.mit.edu/pub/scm/OLD/
DISTFILES=      scm4e1.tar.gz \
        slib.info.tar.gz slib2a2.tar.gz slib-psd1-3.tar.gz \
        scmconfig4e1.tar.gz

MAINTAINER= ports@FreeBSD.org

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
MAKE_FLAGS= CFLAGS=-O2 LDFLAGS=-s defines="-DSICP -DHAVE_CONFIG_H -DFLOATS -DIO_EXTENSIONS -DMEMOIZE_LOCALS -DGC_FREE_SEGMENTS" -f
MAN1=       scm.1

pre-install:
    ${MKDIR} ${PREFIX}/lib/slib/psd
    ${INSTALL_DATA} ${WRKDIR}/slib/*.scm ${PREFIX}/lib/slib
    ${INSTALL_DATA} ${WRKDIR}/slib/psd/*.scm ${PREFIX}/lib/slib/psd
    (cd ${WRKDIR}/slib; \
        makeinfo slib.texi; \
        ${INSTALL_MAN} slib.info slib.info-1 slib.info-2 \
              slib.info-3 slib.info-4 ${PREFIX}/info)

.include <bsd.port.mk>