2013-02-05 23:26:31 +01:00
|
|
|
# Created by: Li-Lun Wang <llwang@infor.org>
|
2006-05-30 22:04:03 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= whitespace
|
|
|
|
PORTVERSION= 0.3
|
2013-02-05 23:26:31 +01:00
|
|
|
PORTREVISION= 7
|
2006-05-30 22:04:03 +02:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= http://compsoc.dur.ac.uk/whitespace/downloads/
|
|
|
|
DISTNAME= wspace-${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= llwang@infor.org
|
|
|
|
COMMENT= An interpreter for the Whitespace programming language
|
|
|
|
|
2011-05-09 17:18:39 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2006-05-30 22:04:03 +02:00
|
|
|
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
|
2013-02-05 23:26:31 +01:00
|
|
|
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \
|
|
|
|
ffi.6:${PORTSDIR}/devel/libffi
|
|
|
|
USE_PERL5_BUILD= 5.8+
|
2006-05-30 22:04:03 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/WSpace
|
|
|
|
USE_GMAKE= yes
|
|
|
|
ALL_TARGET= ${TARGET}
|
|
|
|
|
2012-08-08 11:36:20 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
OPTIONS_DEFAULT= DOCS EXAMPLES
|
|
|
|
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2006-05-30 22:04:03 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wspace ${PREFIX}/bin
|
|
|
|
|
|
|
|
post-install:
|
2012-08-08 11:36:20 +02:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
2006-05-30 22:04:03 +02:00
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
2012-08-08 11:36:20 +02:00
|
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2006-05-30 22:04:03 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/tutorial.html ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|