- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
41 lines
1.7 KiB
Makefile
41 lines
1.7 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= babel
|
|
PORTVERSION= 2010.01.16
|
|
PORTREVISION= 2
|
|
CATEGORIES= converters lisp
|
|
PKGNAMEPREFIX= cl-
|
|
MASTER_SITES= LOCAL/olgeni
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= Charset encoding/decoding library written in Common Lisp
|
|
|
|
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 \
|
|
${LOCALBASE}/${CL_LIBDIR_REL}/trivial-gray-streams/trivial-gray-streams.asd:${PORTSDIR}/devel/cl-trivial-gray-streams
|
|
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 \
|
|
${LOCALBASE}/${CL_LIBDIR_REL}/trivial-gray-streams/trivial-gray-streams.asd:${PORTSDIR}/devel/cl-trivial-gray-streams
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_ASDF= yes
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
do-install:
|
|
@${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}
|
|
.for FILE in COPYRIGHT HEADER NOTES README
|
|
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/tests/* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include "${.CURDIR}/../../devel/cl-asdf/bsd.cl-asdf.mk"
|
|
.include <bsd.port.mk>
|