aboutsummaryrefslogtreecommitdiffstats
path: root/www/cl-lml/Makefile
blob: 578e694a24f1804afce8b09c8e117255847e47f1 (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:    cl-lml
# Date created:             18 May 2003
# Whom:                 Henrik Motakef <henrik.motakef@web.de>
#
# $FreeBSD$

PORTNAME=   lml
PORTVERSION=    2.5.7
CATEGORIES= www textproc
MASTER_SITES=   http://files.b9.com/lml/ \
        http://people.bsdgroup.de/~as/freebsd/distfiles/
PKGNAMEPREFIX=  cl-

MAINTAINER= olgeni@FreeBSD.org
COMMENT=    Lisp Markup Language

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

NO_BUILD=   yes # installs the sources only
CL_LIBDIR=  ${PREFIX}/lib/common-lisp
DOCSDIR=    ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}

.if !defined(NOPORTDOCS)
PORTDOCS=   Makefile make.lisp readme.html readme.lml
.endif

do-install:
    @${MKDIR} ${CL_LIBDIR}/lml
    @${INSTALL_DATA} ${WRKSRC}/*.lisp ${CL_LIBDIR}/lml
    @${INSTALL_DATA} ${WRKSRC}/lml.asd ${CL_LIBDIR}/lml
    @${LN} -sf ${CL_LIBDIR}/lml/lml.asd ${CL_LIBDIR}/system-registry/lml.asd
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for FILE in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>