mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
# Created by: Matthew X. Economou <xenophon+fbsdports@irtnog.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= uffi
|
|
PORTVERSION= 2.0.0
|
|
PORTREVISION= 1
|
|
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
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${ASDF_PATHNAME} ${STAGEDIR}${ASDF_REGISTRY}
|
|
@${MKDIR} ${STAGEDIR}${ASDF_PATHNAME}/src
|
|
@${INSTALL_DATA} ${WRKSRC}/uffi.asd ${STAGEDIR}${ASDF_PATHNAME}
|
|
@${INSTALL_DATA} ${WRKSRC}/src/*.lisp ${STAGEDIR}${ASDF_PATHNAME}/src
|
|
@${LN} -sf ${ASDF_PATHNAME}/uffi.asd ${STAGEDIR}${ASDF_REGISTRY}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
@${TAR} -C ${STAGEDIR}${DOCSDIR} -xf ${WRKSRC}/doc/html.tar.gz --no-same-owner
|
|
@${CHMOD} ${DOCMODE} ${STAGEDIR}${DOCSDIR}/html/*
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/uffi.pdf ${STAGEDIR}${DOCSDIR}
|
|
.for FILE in AUTHORS ChangeLog INSTALL LICENSE NEWS README TODO
|
|
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include "${.CURDIR}/../../devel/cl-asdf/bsd.cl-asdf.mk"
|
|
.include <bsd.port.mk>
|