34 lines
974 B
Makefile
34 lines
974 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= trivial-features
|
|
PORTVERSION= 2010.01.16
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel lisp
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= olgeni
|
|
PKGNAMEPREFIX= cl-
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= Ensures consistent *FEATURES* in Common Lisp
|
|
|
|
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}/${PORTNAME}.asd ${STAGEDIR}${ASDF_PATHNAME}
|
|
@${LN} -sf ${ASDF_PATHNAME}/${PORTNAME}.asd ${STAGEDIR}${ASDF_REGISTRY}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for FILE in README SPEC
|
|
@${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>
|