2010-01-20 16:01:08 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= babel
|
|
|
|
PORTVERSION= 2010.01.16
|
2011-08-16 22:59:36 +02:00
|
|
|
PORTREVISION= 2
|
2010-01-20 16:01:08 +01:00
|
|
|
CATEGORIES= converters lisp
|
|
|
|
PKGNAMEPREFIX= cl-
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= olgeni
|
|
|
|
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
2014-06-08 15:14:42 +02:00
|
|
|
COMMENT= Charset encoding/decoding library written in Common Lisp
|
2010-01-20 16:01:08 +01:00
|
|
|
|
2010-01-21 17:40:52 +01:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/${CL_LIBDIR_REL}/alexandria/alexandria.asd:${PORTSDIR}/devel/cl-alexandria \
|
|
|
|
${LOCALBASE}/${CL_LIBDIR_REL}/trivial-features/trivial-features.asd:${PORTSDIR}/devel/cl-trivial-features \
|
2010-01-20 16:01:08 +01:00
|
|
|
${LOCALBASE}/${CL_LIBDIR_REL}/trivial-gray-streams/trivial-gray-streams.asd:${PORTSDIR}/devel/cl-trivial-gray-streams
|
2010-01-21 17:40:52 +01:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/${CL_LIBDIR_REL}/alexandria/alexandria.asd:${PORTSDIR}/devel/cl-alexandria \
|
|
|
|
${LOCALBASE}/${CL_LIBDIR_REL}/trivial-features/trivial-features.asd:${PORTSDIR}/devel/cl-trivial-features \
|
2010-01-20 16:01:08 +01:00
|
|
|
${LOCALBASE}/${CL_LIBDIR_REL}/trivial-gray-streams/trivial-gray-streams.asd:${PORTSDIR}/devel/cl-trivial-gray-streams
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
USE_ASDF= yes
|
|
|
|
|
2014-02-15 18:34:49 +01:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2014-01-03 17:12:21 +01:00
|
|
|
|
2010-01-20 16:01:08 +01:00
|
|
|
do-install:
|
2014-02-15 18:34:49 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${ASDF_PATHNAME} ${STAGEDIR}${ASDF_REGISTRY}
|
|
|
|
@${MKDIR} ${STAGEDIR}${ASDF_PATHNAME}/src
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/src/*.lisp ${STAGEDIR}${ASDF_PATHNAME}/src
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/babel.asd ${STAGEDIR}${ASDF_PATHNAME}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/babel-streams.asd ${STAGEDIR}${ASDF_PATHNAME}
|
|
|
|
@${LN} -sf ${ASDF_PATHNAME}/babel.asd ${ASDF_PATHNAME}/babel-streams.asd ${STAGEDIR}${ASDF_REGISTRY}
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2010-01-20 16:01:08 +01:00
|
|
|
.for FILE in COPYRIGHT HEADER NOTES README
|
2014-02-15 18:34:49 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
|
2010-01-20 16:01:08 +01:00
|
|
|
.endfor
|
2014-02-15 18:34:49 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/tests/* ${STAGEDIR}${EXAMPLESDIR}
|
2010-01-20 16:01:08 +01:00
|
|
|
|
|
|
|
.include "${.CURDIR}/../../devel/cl-asdf/bsd.cl-asdf.mk"
|
|
|
|
.include <bsd.port.mk>
|