1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/lang/whitespace/Makefile
Adam Weinberger a84c115a09 Convert a bunch of EXTRACT_SUFX=... into USES=tar:...
Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 19:11:51 +00:00

39 lines
932 B
Makefile

# Created by: Li-Lun Wang <llwang@infor.org>
# $FreeBSD$
PORTNAME= whitespace
PORTVERSION= 0.3
PORTREVISION= 7
CATEGORIES= lang
MASTER_SITES= http://compsoc.dur.ac.uk/whitespace/downloads/
DISTNAME= wspace-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Interpreter for the Whitespace programming language
LICENSE= GPLv2
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
libffi.so.6:${PORTSDIR}/devel/libffi
USES= perl5 gmake tar:tgz
USE_PERL5= build
WRKSRC= ${WRKDIR}/WSpace
ALL_TARGET= ${TARGET}
PLIST_FILES= bin/wspace
PORTEXAMPLES= *
PORTDOCS= *
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wspace ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/tutorial.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>