diff options
author | olgeni <olgeni@FreeBSD.org> | 2010-01-15 20:14:39 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2010-01-15 20:14:39 +0800 |
commit | db6c634e448bc8765cbc58ca91b1a4e4aa41610a (patch) | |
tree | 9c5ff04da0b9c023f86f7db9b932c7c9a9da8101 /textproc/cl-ppcre | |
parent | e434a643efdf84c3dfcdc64e58706cc363f818d1 (diff) | |
download | freebsd-ports-gnome-db6c634e448bc8765cbc58ca91b1a4e4aa41610a.tar.gz freebsd-ports-gnome-db6c634e448bc8765cbc58ca91b1a4e4aa41610a.tar.zst freebsd-ports-gnome-db6c634e448bc8765cbc58ca91b1a4e4aa41610a.zip |
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.
Diffstat (limited to 'textproc/cl-ppcre')
-rw-r--r-- | textproc/cl-ppcre/Makefile | 49 |
1 files changed, 22 insertions, 27 deletions
diff --git a/textproc/cl-ppcre/Makefile b/textproc/cl-ppcre/Makefile index 0c61daaa7bf4..92cee86eb4f3 100644 --- a/textproc/cl-ppcre/Makefile +++ b/textproc/cl-ppcre/Makefile @@ -6,6 +6,7 @@ PORTNAME= cl-ppcre PORTVERSION= 0.5.4 +PORTREVISION= 1 CATEGORIES= textproc lisp MASTER_SITES= http://weitz.de/files/ EXTRACT_SUFX= .tgz @@ -13,42 +14,35 @@ EXTRACT_SUFX= .tgz MAINTAINER= olgeni@FreeBSD.org COMMENT= Portable Perl-Compatible Regular Expression for Common Lisp -BUILD_DEPENDS= ${LOCALBASE}/lib/common-lisp/asdf/asdf.lisp:${PORTSDIR}/devel/cl-asdf -RUN_DEPENDS= ${LOCALBASE}/lib/common-lisp/asdf/asdf.lisp:${PORTSDIR}/devel/cl-asdf +NO_BUILD= yes -NO_BUILD= yes # installs the sources only -CL_LIBDIR= ${PREFIX}/lib/common-lisp +USE_ASDF= yes do-install: - @${MKDIR} ${CL_LIBDIR}/cl-ppcre - - @${INSTALL_DATA} ${WRKSRC}/api.lisp ${CL_LIBDIR}/cl-ppcre/ - @${INSTALL_DATA} ${WRKSRC}/closures.lisp ${CL_LIBDIR}/cl-ppcre/ - @${INSTALL_DATA} ${WRKSRC}/convert.lisp ${CL_LIBDIR}/cl-ppcre/ - @${INSTALL_DATA} ${WRKSRC}/lexer.lisp ${CL_LIBDIR}/cl-ppcre/ - @${INSTALL_DATA} ${WRKSRC}/load.lisp ${CL_LIBDIR}/cl-ppcre/ - @${INSTALL_DATA} ${WRKSRC}/optimize.lisp ${CL_LIBDIR}/cl-ppcre/ - @${INSTALL_DATA} ${WRKSRC}/packages.lisp ${CL_LIBDIR}/cl-ppcre/ - @${INSTALL_DATA} ${WRKSRC}/parser.lisp ${CL_LIBDIR}/cl-ppcre/ - @${INSTALL_DATA} ${WRKSRC}/regex-class.lisp ${CL_LIBDIR}/cl-ppcre/ - @${INSTALL_DATA} ${WRKSRC}/repetition-closures.lisp ${CL_LIBDIR}/cl-ppcre/ - @${INSTALL_DATA} ${WRKSRC}/scanner.lisp ${CL_LIBDIR}/cl-ppcre/ - @${INSTALL_DATA} ${WRKSRC}/specials.lisp ${CL_LIBDIR}/cl-ppcre/ - @${INSTALL_DATA} ${WRKSRC}/util.lisp ${CL_LIBDIR}/cl-ppcre/ - @${INSTALL_DATA} ${WRKSRC}/cl-ppcre.asd ${CL_LIBDIR}/cl-ppcre/ - @${INSTALL_DATA} ${WRKSRC}/cl-ppcre.system ${CL_LIBDIR}/cl-ppcre/ - - @${LN} -sf ${CL_LIBDIR}/cl-ppcre/cl-ppcre.asd ${CL_LIBDIR}/system-registry/cl-ppcre.asd - @${LN} -sf ${CL_LIBDIR}/cl-ppcre/cl-ppcre.system ${CL_LIBDIR}/system-registry/cl-ppcre.system - + @${MKDIR} ${ASDF_PATHNAME} + @${INSTALL_DATA} ${WRKSRC}/api.lisp ${ASDF_PATHNAME} + @${INSTALL_DATA} ${WRKSRC}/closures.lisp ${ASDF_PATHNAME} + @${INSTALL_DATA} ${WRKSRC}/convert.lisp ${ASDF_PATHNAME} + @${INSTALL_DATA} ${WRKSRC}/lexer.lisp ${ASDF_PATHNAME} + @${INSTALL_DATA} ${WRKSRC}/load.lisp ${ASDF_PATHNAME} + @${INSTALL_DATA} ${WRKSRC}/optimize.lisp ${ASDF_PATHNAME} + @${INSTALL_DATA} ${WRKSRC}/packages.lisp ${ASDF_PATHNAME} + @${INSTALL_DATA} ${WRKSRC}/parser.lisp ${ASDF_PATHNAME} + @${INSTALL_DATA} ${WRKSRC}/regex-class.lisp ${ASDF_PATHNAME} + @${INSTALL_DATA} ${WRKSRC}/repetition-closures.lisp ${ASDF_PATHNAME} + @${INSTALL_DATA} ${WRKSRC}/scanner.lisp ${ASDF_PATHNAME} + @${INSTALL_DATA} ${WRKSRC}/specials.lisp ${ASDF_PATHNAME} + @${INSTALL_DATA} ${WRKSRC}/util.lisp ${ASDF_PATHNAME} + @${INSTALL_DATA} ${WRKSRC}/cl-ppcre.asd ${ASDF_PATHNAME} + @${INSTALL_DATA} ${WRKSRC}/cl-ppcre.system ${ASDF_PATHNAME} + @${LN} -sf ${ASDF_PATHNAME}/*.asd ${ASDF_REGISTRY} + @${LN} -sf ${ASDF_PATHNAME}/*.system ${ASDF_REGISTRY} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - @${MKDIR} ${DOCSDIR}/doc @${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}/doc/ - @${MKDIR} ${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/cl-ppcre-test.* ${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/perltest.pl ${EXAMPLESDIR} @@ -57,4 +51,5 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/testinput ${EXAMPLESDIR} .endif +.include "${.CURDIR}/../../devel/cl-asdf/bsd.cl-asdf.mk" .include <bsd.port.mk> |