aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cl-infix/Makefile
blob: d7c1fc2aa9a4ffc206a4772e2e638c30c38a1a9c (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
45
46
# New ports collection makefile for:    infix
# Date created:             19 August 2006
# Whom:                 Pedro F. Giffuni
#
# $FreeBSD$
#

PORTNAME=   infix
DISTVERSION=    19960628
CATEGORIES= devel lisp
MASTER_SITES=   http://ftp.linux.org.uk/pub/lisp/cclan/ \
        ftp://ftp.ntnu.no/pub/lisp/cclan/ \
        http://thingamy.com/cclan/ \
        http://www-jcsu.jesus.cam.ac.uk/ftp/pub/cclan/
PKGNAMEPREFIX=  cl-
DISTNAME=   ${PORTNAME}

MAINTAINER= giffunip@asme.org
COMMENT=    A lisp macro for reading math expressions in infix form

BUILD_DEPENDS=  ${LOCALBASE}/lib/common-lisp/asdf/asdf.lisp:${PORTSDIR}/devel/cl-asdf
RUN_DEPENDS=    ${LOCALBASE}/lib/common-lisp/asdf/asdf.lisp:${PORTSDIR}/devel/cl-asdf

WRKSRC=     ${WRKDIR}/${PORTNAME}-${DISTVERSION}
DOCSDIR?=   ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
CL_LIBDIR=  ${PREFIX}/lib/common-lisp

NO_BUILD=   yes
NO_CDROM=   No fees or compensation can be charged

LPORTDOCS=  COPYING infix.3lisp

do-install:
    ${MKDIR} ${CL_LIBDIR}/infix
    ${INSTALL_DATA} ${WRKSRC}/infix.asd   ${CL_LIBDIR}/infix/
    ${INSTALL_DATA} ${WRKSRC}/*.cl ${CL_LIBDIR}/infix/
    ${INSTALL_DATA} ${WRKSRC}/infix.system ${CL_LIBDIR}/infix/
    ${LN} -sf ${CL_LIBDIR}/infix/infix.asd ${CL_LIBDIR}/system-registry/infix.asd
.if !defined(NOPORTDOCS)
.for i in ${LPORTDOCS}
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
.endif

.include <bsd.port.mk>