summaryrefslogtreecommitdiff
path: root/lang/ypsilon/Makefile
blob: 0386f90ce415db0678fd4eaf6b041d4c0c5d2671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Vitaly Magerya <vmagerya@gmail.com>
# $FreeBSD$

PORTNAME=	ypsilon
PORTVERSION=	0.9.6.3
PORTREVISION=	2
CATEGORIES=	lang scheme
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
DISTNAME=	${PORTNAME}-0.9.6.update3

MAINTAINER=	vmagerya@gmail.com
COMMENT=	Scheme implementation for real-time applications

USES=		gmake

MAKE_ARGS=	DATADIR="${DATADIR}" \
		PTHREAD_LIBS="${PTHREAD_LIBS}"

ONLY_FOR_ARCHS=	i386 amd64

OPTIONS_DEFINE=	EXAMPLES

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
	@${MKDIR} ${STAGEDIR}${DATADIR}
	(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "sitelib stdlib" ${STAGEDIR}${DATADIR})
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/example/*.scm ${STAGEDIR}${EXAMPLESDIR}

regression-test: build
	cd ${WRKSRC} && ${GMAKE} check

.include <bsd.port.mk>