aboutsummaryrefslogtreecommitdiffstats
path: root/lang/slib/Makefile
blob: 551f5413963f875f1b4c145629e6127ac35ed06b (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
38
39
40
41
42
43
44
# New ports collection makefile for:   slib
# Date created:        01 April 1998
# Whom:                Yukihiro Nakai <Nakai@technologist.com>
#
# $FreeBSD$
#

PORTNAME=   slib
PORTVERSION=    3a1
PORTREVISION=   2
CATEGORIES= lang scheme
MASTER_SITES=   http://swissnet.ai.mit.edu/ftpdir/scm/ \
        http://swissnet.ai.mit.edu/ftpdir/scm/OLD/:old
DISTFILES=  slib2d5${EXTRACT_SUFX}:old \
        slib${PORTVERSION}${EXTRACT_SUFX}

MAINTAINER= fuyuki@nigredo.org
COMMENT=    A portable scheme library

USE_REINPLACE=  yes
WRKSRC=     ${WRKDIR}/slib
USE_GMAKE=  yes
ALL_TARGET= slib.info
INFO=       slib

post-extract:
    ${RM} ${WRKSRC}/formatst.scm ${WRKSRC}/report.scm

post-patch:
    ${REINPLACE_CMD} -e 's/;;(format/(format/' ${WRKSRC}/mklibcat.scm

do-install:
    ${MKDIR} ${DATADIR}
    cd ${WRKSRC}; ${INSTALL_DATA} *.scm *.init *.txt *.xyz *.ps ${DATADIR}
    ${INSTALL_MAN} ${WRKSRC}/slib.info ${PREFIX}/info
    install-info ${PREFIX}/info/slib.info ${PREFIX}/info/dir
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for file in ANNOUNCE ChangeLog FAQ README
    ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>