summaryrefslogtreecommitdiff
path: root/devel/cl-alexandria/Makefile
blob: 57684f0abdb0c726bb789c4d12f2012dfb62e94f (plain)
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

PORTNAME=	alexandria
DISTVERSION=	1.2
PORTEPOCH=	1
CATEGORIES=	devel lisp
PKGNAMEPREFIX=	cl-

MAINTAINER=	olgeni@FreeBSD.org
COMMENT=	Collection of portable public domain utilities for Common Lisp

LICENSE=	PD
LICENSE_FILE=	${WRKSRC}/LICENCE

USE_ASDF=	yes
USE_GITLAB=	yes
GL_SITE=	https://gitlab.common-lisp.net
GL_COMMIT=	f35e232ceb2ada8d10e7fdf27ccac07f781eea0e

OPTIONS_DEFINE=	DOCS

DOCS_BUILD_DEPENDS=	sbcl:lang/sbcl \
			texi2pdf:print/texinfo

DOCS_USE=	TEX=latex:build
DOCS_INFO=	doc/${PORTNAME}

do-build:
	@${DO_NADA}

do-build-DOCS-on:
	cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} doc

do-install:
	@${MKDIR} ${STAGEDIR}${ASDF_PATHNAME}/${PORTNAME}-1 \
		${STAGEDIR}${ASDF_PATHNAME}/${PORTNAME}-2 \
		${STAGEDIR}${ASDF_REGISTRY}
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-1/*.lisp ${STAGEDIR}${ASDF_PATHNAME}/${PORTNAME}-1
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-2/*.lisp ${STAGEDIR}${ASDF_PATHNAME}/${PORTNAME}-2
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.asd ${STAGEDIR}${ASDF_PATHNAME}
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-tests.asd ${STAGEDIR}${ASDF_PATHNAME}
	${RLN} ${STAGEDIR}${ASDF_PATHNAME}/${PORTNAME}.asd ${STAGEDIR}${ASDF_REGISTRY}
	${RLN} ${STAGEDIR}${ASDF_PATHNAME}/${PORTNAME}-tests.asd ${STAGEDIR}${ASDF_REGISTRY}

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.html ${WRKSRC}/doc/${PORTNAME}.pdf \
		${STAGEDIR}${DOCSDIR}

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