2e135ebded
Port changes: - Pull tarball from Common-Lisp.net GitLab repository - Do not silence install commands (except mkdir) - Conform to 'Order of Variables in Port Makefiles' from Porter's Handbook - Silence warning about creating absolute links - Set DISTVERSION instead of setting PORTVERSION directly PR: 225427 Submitted by: Christian Heckendorf <heckendorfc@gmail.com> Approved by: maintainer timeout (1 month)
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# Created by: Henrik Motakef <henrik.motakef@web.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= asdf
|
|
DISTVERSION= 3.3.1.7
|
|
PORTEPOCH= 2
|
|
CATEGORIES= devel lisp
|
|
PKGNAMEPREFIX= cl-
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= System definition facility for Common Lisp
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= gmake
|
|
USE_GITLAB= yes
|
|
GL_SITE= https://gitlab.common-lisp.net
|
|
GL_COMMIT= bcb69b41a61c91a6c5247391fefdff0d7d4d21b6
|
|
|
|
ALL_TARGET= build/asdf.lisp
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${ASDF_PATHNAME}
|
|
@${MKDIR} ${STAGEDIR}${ASDF_REGISTRY}
|
|
${INSTALL_DATA} ${WRKSRC}/build/asdf.lisp ${STAGEDIR}${ASDF_PATHNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/*.asd ${STAGEDIR}${ASDF_PATHNAME}
|
|
${RLN} ${STAGEDIR}${ASDF_PATHNAME}/asdf.asd ${STAGEDIR}${ASDF_REGISTRY}
|
|
${SED} -i '' -e 's|%%PREFIX%%|${PREFIX}|' ${STAGEDIR}${ASDF_PATHNAME}/asdf.lisp
|
|
${SED} -e 's|%%ASDF_PATHNAME%%|${ASDF_PATHNAME}/asdf|' \
|
|
-e 's|%%ASDF_REGISTRY%%|${ASDF_REGISTRY}|' \
|
|
-e 's|%%PREFIX%%|${PREFIX}|' \
|
|
${FILESDIR}/asdf-init.lisp > \
|
|
${STAGEDIR}${PREFIX}/etc/asdf-init.lisp.default
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.cl-asdf.mk>
|
|
.include <bsd.port.mk>
|