blob: 3005ee04434bd5123658e62ecece2ed51f71fc68 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# New ports collection makefile for: cl-cffi
# Date created: 20 January 2010
# Whom: Jimmy Olgeni <olgeni@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= cffi
PORTVERSION= 0.10.5
CATEGORIES= devel lisp
MASTER_SITES= http://common-lisp.net/project/cffi/releases/:src \
http://common-lisp.net/project/cffi/manual/:manual \
http://common-lisp.net/project/cffi/spec/:spec
PKGNAMEPREFIX= cl-
DISTNAME= ${PORTNAME}_${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src \
cffi-manual.html:manual \
cffi-manual.txt:manual \
cffi-manual.pdf:manual \
cffi-sys-spec.html:spec \
cffi-sys-spec.txt:spec \
cffi-sys-spec.pdf:spec
DIST_SUBDIR= cffi
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= A portable foreign function interface for 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}/babel/babel.asd:${PORTSDIR}/converters/cl-babel
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}/babel/babel.asd:${PORTSDIR}/converters/cl-babel
NO_BUILD= yes
USE_ASDF= yes
do-install:
@${MKDIR} ${ASDF_PATHNAME}
@${MKDIR} ${ASDF_PATHNAME}/src
@${MKDIR} ${ASDF_PATHNAME}/grovel
@${MKDIR} ${ASDF_PATHNAME}/uffi-compat
@${INSTALL_DATA} ${WRKSRC}/src/*.lisp ${ASDF_PATHNAME}/src
@${INSTALL_DATA} ${WRKSRC}/grovel/*.lisp ${ASDF_PATHNAME}/grovel
@${INSTALL_DATA} ${WRKSRC}/uffi-compat/*.asd ${ASDF_PATHNAME}/uffi-compat
@${INSTALL_DATA} ${WRKSRC}/uffi-compat/*.lisp ${ASDF_PATHNAME}/uffi-compat
@${INSTALL_DATA} ${WRKSRC}/cffi.asd ${ASDF_PATHNAME}
@${INSTALL_DATA} ${WRKSRC}/cffi-uffi-compat.asd ${ASDF_PATHNAME}
@${INSTALL_DATA} ${WRKSRC}/cffi-grovel.asd ${ASDF_PATHNAME}
@${LN} -sf ${ASDF_PATHNAME}/*.asd ${ASDF_REGISTRY}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.for FILE in shareable-vectors.txt allegro-internals.txt mem-vector.txt
@${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR}
.endfor
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/cffi-manual.html ${DOCSDIR}
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/cffi-manual.txt ${DOCSDIR}
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/cffi-manual.pdf ${DOCSDIR}
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/cffi-sys-spec.html ${DOCSDIR}
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/cffi-sys-spec.txt ${DOCSDIR}
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/cffi-sys-spec.pdf ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${MKDIR} ${EXAMPLESDIR}/tests
@${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/tests/* ${EXAMPLESDIR}/tests
.endif
.include "${.CURDIR}/../../devel/cl-asdf/bsd.cl-asdf.mk"
.include <bsd.port.mk>
|