aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cl-uffi/Makefile
blob: 700602772eb64f070b588f52bf82d7ad01d8d4a3 (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
# New ports collection makefile for:    uffi
# Date created:             19 August 2004
# Whom:                 Matthew X. Economou <xenophon+fbsdports@irtnog.org>
#
# $FreeBSD$

PORTNAME=   uffi
PORTVERSION=    1.6.2
PORTREVISION=   2
CATEGORIES= devel lisp
PKGNAMEPREFIX=  cl-
MASTER_SITES=   http://files.b9.com/uffi/

MAINTAINER= olgeni@FreeBSD.org
COMMENT=    Universal Foreign Function Interface for Common Lisp

NO_BUILD=   yes

USE_ASDF=   yes

do-install:
    @${MKDIR} ${ASDF_PATHNAME}
    @${MKDIR} ${ASDF_PATHNAME}/src
    @${INSTALL_DATA} ${WRKSRC}/uffi.asd   ${ASDF_PATHNAME}
    @${INSTALL_DATA} ${WRKSRC}/src/*.lisp ${ASDF_PATHNAME}/src
    @${LN} -sf ${ASDF_PATHNAME}/*.asd ${ASDF_REGISTRY}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${TAR} -C ${DOCSDIR} -xf ${WRKSRC}/doc/html.tar.gz
    @${CHOWN} ${DOCOWN}:${DOCGRP} ${DOCSDIR}/html/*
    @${CHMOD} ${DOCMODE}  ${DOCSDIR}/html/*
    @${INSTALL_DATA} ${WRKSRC}/doc/uffi.pdf ${DOCSDIR}
.for FILE in AUTHORS ChangeLog INSTALL LICENSE NEWS README TODO
    @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif

.if !defined(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}
    @${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif

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