blob: 675c15c521641cc8c6f5239ef619b9c7285827de (
plain) (
blame)
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
|
# 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>
|