freebsd-ports/devel/cl-alexandria/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

49 lines
1.5 KiB
Makefile

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>