2003-06-03 02:54:31 +00:00
|
|
|
# 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
|
2007-07-10 14:06:02 +00:00
|
|
|
PORTREVISION= 2
|
2005-10-16 14:48:09 +00:00
|
|
|
CATEGORIES= devel lisp
|
2005-04-09 22:18:04 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= pav
|
2003-06-03 02:54:31 +00:00
|
|
|
PKGNAMEPREFIX= cl-
|
|
|
|
|
2004-12-06 07:19:28 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-06-03 02:54:31 +00:00
|
|
|
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
|
2005-04-09 22:18:04 +00:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${UNIQUENAME}
|
2003-06-03 02:54:31 +00:00
|
|
|
|
|
|
|
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/
|
2007-07-10 14:06:02 +00:00
|
|
|
${SED} -i '' -e 's|%%PREFIX%%|${PREFIX}|' ${CL_LIBDIR}/asdf/asdf.lisp
|
2003-06-03 02:54:31 +00:00
|
|
|
${SED} -e 's|%%ASDF_PATHNAME%%|${CL_LIBDIR}/asdf/asdf|' \
|
|
|
|
-e 's|%%ASDF_SYSTEM_REGISTRY%%|${ASDF_SYSTEM_REGISTRY}|' \
|
2007-07-10 14:06:02 +00:00
|
|
|
-e 's|%%PREFIX%%|${PREFIX}|' \
|
2003-06-03 02:54:31 +00:00
|
|
|
${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/
|
2005-04-09 22:18:04 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}/
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${DOCSDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/test/* ${EXAMPLESDIR}/
|
2003-06-03 02:54:31 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${MASTERDIR}/pkg-message
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|