freebsd-ports/lang/slib/Makefile

43 lines
1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: slib
# Date created: 01 April 1998
# Whom: Yukihiro Nakai <Nakai@technologist.com>
#
1999-08-25 08:35:40 +02:00
# $FreeBSD$
#
PORTNAME= slib
PORTVERSION= 2d5
PORTREVISION= 1
CATEGORIES= lang scheme
MASTER_SITES= http://swissnet.ai.mit.edu/ftpdir/scm/
DISTNAME= slib${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A portable scheme library
2001-07-31 11:36:03 +02:00
RUN_DEPENDS= guile:${PORTSDIR}/lang/guile
WRKSRC= ${WRKDIR}/slib
NO_BUILD= yes
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.scm ${DATADIR}
2001-08-17 20:37:53 +02:00
${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>