aboutsummaryrefslogtreecommitdiffstats
path: root/lang/screamer/Makefile
blob: 1712be5b947f2a569112313104460278a1f25062 (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
# New ports collection makefile for:    screamer
# Date created:             Jun 26 2002
# Whom:                 Scott Flatman <sf@dsinw.com>
#
# $FreeBSD$
#

PORTNAME=   screamer
PORTVERSION=    3.20
CATEGORIES= lang
MASTER_SITES=   ftp://ftp.cis.upenn.edu/pub/ \
        ${MASTER_SITE_LOCAL}
DISTNAME=   screamer.tar
EXTRACT_SUFX=   .Z

MAINTAINER= sf@slappy.org
COMMENT=    Extension of Common Lisp for nondeterministic programming

BUILD_DEPENDS=  lisp:${PORTSDIR}/lang/cmucl
RUN_DEPENDS=    ${LOCALBASE}/bin/lisp:${PORTSDIR}/lang/cmucl

NO_BUILD=   yes

pre-install:
    (cd ${WRKDIR}/screamer && ${LOCALBASE}/bin/lisp -eval '(load "${FILESDIR}/build.lisp")')

do-install:
    (cd ${WRKDIR}/screamer ; ${MV} screamer.x86f ${PREFIX}/lib/cmucl/lib/subsystems/screamer-library.x86f)
    ${CHMOD} 644 ${PREFIX}/lib/cmucl/lib/subsystems/screamer-library.x86f
    -${MKDIR} ${PREFIX}/share/screamer
    (cd ${WRKDIR} && tar fc - screamer) | (cd ${PREFIX}/share && tar fx -)
    (cd ${PREFIX}/share/screamer ; ${CHMOD} 644 *)

post-install:
    @echo "To load screamer into a lisp session:"
    @echo "  (1) invoke lisp"
    @echo "  (2) (require 'screamer)"
    @echo "${PREFIX}/share/screamer constains source and documentation."

.include <bsd.port.mk>