7d1faa7179
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is backwards-compatible (accepting any commit hash as before), but also understands an actual tag name. Moving to tag names where appropriate is left to individual ports' maintainers. Approved by: portmgr (tcberner, mentor) Differential Revision: https://reviews.freebsd.org/D37077
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
PORTNAME= asdf
|
|
DISTVERSION= 3.3.4.7
|
|
PORTEPOCH= 2
|
|
CATEGORIES= devel lisp
|
|
PKGNAMEPREFIX= cl-
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= System definition facility for Common Lisp
|
|
WWW= https://www.cliki.net/asdf
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= gmake
|
|
USE_GITLAB= yes
|
|
GL_SITE= https://gitlab.common-lisp.net
|
|
GL_TAGNAME= a58828745a610c1af841a86587ba197707c89eb3
|
|
|
|
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>
|