1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/devel/cl-asdf/Makefile
Will Andrews c8b230d195 Add cl-asdf 2003.05.16, a system definition facility for Common Lisp.
PR:		52358
Submitted by:	Henrik Motakef <henrik.motakef@web.de>
2003-06-03 02:54:31 +00:00

46 lines
1.5 KiB
Makefile

# New ports collection Makefile for: cl-asdf
# Date created: 10 May 2003
# Whom: Henrik Motakef <henrik.motakef@web.de>
#
# $FreeBSD$
PORTNAME= asdf
PORTVERSION= 2003.05.16
CATEGORIES= devel
MASTER_SITES= http://www.henrik-motakef.de/freebsd-distfiles/asdf/
PKGNAMEPREFIX= cl-
MAINTAINER= henrik.motakef@web.de
COMMENT= A system definition facility for Common Lisp
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes # Sources only, see cl-asdf-[cmucl|sbcl|clisp]
CL_LIBDIR= ${PREFIX}/lib/common-lisp
ASDF_SYSTEM_REGISTRY= ${CL_LIBDIR}/system-registry
do-install:
${MKDIR} ${CL_LIBDIR}/asdf
${MKDIR} ${ASDF_SYSTEM_REGISTRY}
${INSTALL_DATA} ${WRKSRC}/asdf.lisp ${CL_LIBDIR}/asdf/
${INSTALL_DATA} ${WRKSRC}/wild-modules.lisp ${CL_LIBDIR}/asdf/
${SED} -e 's|%%ASDF_PATHNAME%%|${CL_LIBDIR}/asdf/asdf|' \
-e 's|%%ASDF_SYSTEM_REGISTRY%%|${ASDF_SYSTEM_REGISTRY}|' \
${FILESDIR}/asdf-init.lisp > \
${PREFIX}/etc/asdf-init.lisp.default
[ -f ${PREFIX}/etc/asdf-init.lisp ] || \
${CP} ${PREFIX}/etc/asdf-init.lisp.default \
${PREFIX}/etc/asdf-init.lisp
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/cl-asdf/
${MKDIR} ${PREFIX}/share/examples/cl-asdf/
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cl-asdf/
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/cl-asdf/
${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${PREFIX}/share/doc/cl-asdf/
${INSTALL_DATA} ${WRKSRC}/test/* ${PREFIX}/share/examples/cl-asdf/
.endif
post-install:
@${CAT} ${MASTERDIR}/pkg-message
.include <bsd.port.mk>