freebsd-ports/lang/ypsilon/Makefile
2013-02-01 15:04:00 +00:00

41 lines
967 B
Makefile

# New ports collection makefile for: ypsilon
# Date created: 27 July 2008
# Whom: 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
USE_GMAKE= yes
MAKE_ARGS= DATADIR="${DATADIR}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
MAN1= ypsilon.1
ONLY_FOR_ARCHS= i386 amd64
.include <bsd.port.pre.mk>
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
@${MKDIR} ${DATADIR}
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "sitelib stdlib" ${DATADIR})
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/example/*.scm ${EXAMPLESDIR}
.endif
regression-test: build
cd ${WRKSRC} && ${GMAKE} check
.include <bsd.port.post.mk>