freebsd-ports/lang/malbolge/Makefile
Mark Pulford 75912dcabb Add malbolge 1.0, an Infernal programming language.
Cleaned up before commit.

PR:		28147
Submitted by:	simond@irrelevant.org
2001-06-14 17:13:19 +00:00

32 lines
791 B
Makefile

# New ports collection makefile for: malbolge
# Date created: 14 June 2001
# Whom: simond@irrelevant.org
#
# $FreeBSD$
#
PORTNAME= malbolge
PORTVERSION= 1.0
CATEGORIES= lang
MASTER_SITES= http://www.mines.edu/students/b/bolmstea/malbolge/
DISTNAME= malbolge
MAINTAINER= simond@irrelevant.org
post-patch:
${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g" ${WRKSRC}/malbolge.c
do-build:
${CC} ${CFLAGS} ${WRKSRC}/malbolge.c -o ${WRKSRC}/malbolge
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/malbolge ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/malbolge
${INSTALL_DATA} ${WRKSRC}/malbolge.txt ${PREFIX}/share/doc/malbolge
${INSTALL_DATA} ${WRKSRC}/malbolge.txt ${WRKSRC}/nop.mal \
${PREFIX}/share/doc/malbolge
.endif
.include <bsd.port.mk>