freebsd-ports/devel/cl-infix/Makefile
Jimmy Olgeni 1ac224e563 Remove redundant code and variables from the cl-* ports.
Introduce bsd.cl-asdf.mk to automate the compilation and installation
of Common Lisp libraries using the ASDF framework.

Currently it supports building FASL files on SBCL and CLISP, to
support the ports that already exist in the ports tree.

This should help bringing in more cl-* ports from the ASDF repository
without excessive code duplication.
2010-01-15 12:14:39 +00:00

41 lines
1.1 KiB
Makefile

# New ports collection makefile for: infix
# Date created: 19 August 2006
# Whom: Pedro F. Giffuni
#
# $FreeBSD$
PORTNAME= infix
PORTVERSION= 19960628
PORTREVISION= 1
CATEGORIES= devel lisp
MASTER_SITES= http://ftp.linux.org.uk/pub/lisp/cclan/ \
ftp://ftp.ntnu.no/pub/lisp/cclan/ \
http://thingamy.com/cclan/ \
http://www-jcsu.jesus.cam.ac.uk/ftp/pub/cclan/
PKGNAMEPREFIX= cl-
DISTNAME= ${PORTNAME}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= A lisp macro for reading math expressions in infix form
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
NO_BUILD= yes
NO_CDROM= No fees or compensation can be charged
USE_ASDF= yes
do-install:
@${MKDIR} ${ASDF_PATHNAME}
@${INSTALL_DATA} ${WRKSRC}/*.cl ${ASDF_PATHNAME}
@${INSTALL_DATA} ${WRKSRC}/infix.asd ${ASDF_PATHNAME}
@${INSTALL_DATA} ${WRKSRC}/infix.system ${ASDF_PATHNAME}
@${LN} -sf ${ASDF_PATHNAME}/*.asd ${ASDF_REGISTRY}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for FILE in COPYING infix.3lisp
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
.include "${.CURDIR}/../../devel/cl-asdf/bsd.cl-asdf.mk"
.include <bsd.port.mk>