aboutsummaryrefslogtreecommitdiffstats
path: root/converters/cl-babel/Makefile
blob: 16ed959a8b3c3b24baae3382c3ce9007179ab0c9 (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
# $FreeBSD$

PORTNAME=   babel
PORTVERSION=    2010.01.16
PORTREVISION=   2
CATEGORIES= converters lisp
PKGNAMEPREFIX=  cl-
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= olgeni

MAINTAINER= olgeni@FreeBSD.org
COMMENT=    A charset encoding/decoding library written in Common Lisp

BUILD_DEPENDS=  ${LOCALBASE}/${CL_LIBDIR_REL}/alexandria/alexandria.asd:${PORTSDIR}/devel/cl-alexandria \
        ${LOCALBASE}/${CL_LIBDIR_REL}/trivial-features/trivial-features.asd:${PORTSDIR}/devel/cl-trivial-features \
        ${LOCALBASE}/${CL_LIBDIR_REL}/trivial-gray-streams/trivial-gray-streams.asd:${PORTSDIR}/devel/cl-trivial-gray-streams
RUN_DEPENDS=    ${LOCALBASE}/${CL_LIBDIR_REL}/alexandria/alexandria.asd:${PORTSDIR}/devel/cl-alexandria \
        ${LOCALBASE}/${CL_LIBDIR_REL}/trivial-features/trivial-features.asd:${PORTSDIR}/devel/cl-trivial-features \
        ${LOCALBASE}/${CL_LIBDIR_REL}/trivial-gray-streams/trivial-gray-streams.asd:${PORTSDIR}/devel/cl-trivial-gray-streams

NO_BUILD=   yes

USE_ASDF=   yes

NO_STAGE=   yes
do-install:
    @${MKDIR} ${ASDF_PATHNAME}
    @${MKDIR} ${ASDF_PATHNAME}/src
    @${INSTALL_DATA} ${WRKSRC}/src/*.lisp ${ASDF_PATHNAME}/src
    @${INSTALL_DATA} ${WRKSRC}/babel.asd ${ASDF_PATHNAME}
    @${INSTALL_DATA} ${WRKSRC}/babel-streams.asd ${ASDF_PATHNAME}
    @${LN} -sf ${ASDF_PATHNAME}/*.asd ${ASDF_REGISTRY}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for FILE in COPYRIGHT HEADER NOTES README
    @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
.if !defined(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}
    @${INSTALL_DATA} ${WRKSRC}/tests/* ${EXAMPLESDIR}
.endif

.include "${.CURDIR}/../../devel/cl-asdf/bsd.cl-asdf.mk"
.include <bsd.port.mk>