blob: 8eb9961518550bc8d23841a4785f59f82a3c44d5 (
plain)
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
|
# New ports collection makefile for: slib
# Date created: 01 April 1998
# Whom: Yukihiro Nakai <Nakai@technologist.com>
#
# $FreeBSD$
#
PORTNAME= slib
PORTVERSION= 2d5
PORTREVISION= 1
CATEGORIES= lang scheme
MASTER_SITES= http://swissnet.ai.mit.edu/ftpdir/scm/
DISTNAME= slib${PORTVERSION}
MAINTAINER= nakai@FreeBSD.org
COMMENT= A portable scheme library
RUN_DEPENDS= guile:${PORTSDIR}/lang/guile
WRKSRC= ${WRKDIR}/slib
NO_BUILD= yes
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.scm ${DATADIR}
${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)"
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for file in ANNOUNCE COPYING ChangeLog FAQ README
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
${INSTALL_MAN} ${WRKSRC}/slib.info ${PREFIX}/info
install-info ${PREFIX}/info/slib.info ${PREFIX}/info/dir
.endif
.include <bsd.port.mk>
|