aboutsummaryrefslogtreecommitdiffstats
path: root/lang/slib/Makefile
blob: 23cb00c7bb057a77874cc6515cb882cb5a49e254 (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
# New ports collection makefile for:   slib
# Date created:        01 April 1998
# Whom:                Yukihiro Nakai <Nakai@technologist.com>
#
# $FreeBSD$
#

PORTNAME=   slib
PORTVERSION=    2d1
PORTREVISION=   2
CATEGORIES= lang
MASTER_SITES=   http://swissnet.ai.mit.edu/ftpdir/scm/
DISTNAME=   slib2d1

MAINTAINER= nakai@FreeBSD.org

RUN_DEPENDS=    guile:${PORTSDIR}/lang/guile

WRKSRC=     ${WRKDIR}/slib

USE_ZIP=    yes
NO_BUILD=   yes

do-install:
    ${MKDIR} ${PREFIX}/share/slib
    ${INSTALL_DATA} ${WRKSRC}/*.scm ${PREFIX}/share/slib
    ${RM} -f ${LOCALBASE}/share/guile/slib
    ${LN} -sf ${PREFIX}/share/slib ${LOCALBASE}/share/guile/slib
    ${LOCALBASE}/bin/guile -c \
        "(use-modules (ice-9 slib)) (require 'new-catalog)"

.include <bsd.port.mk>