aboutsummaryrefslogtreecommitdiffstats
path: root/lang/yabasic/Makefile
blob: a3cbb8fb01243a71543d7760bec129c1271218d7 (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
# New ports collection makefile for:    yabasic
# Date created:     11 Nov 1999
# Whom:         Frank Gruender
#
# $FreeBSD$
#

PORTNAME=   yabasic
PORTVERSION=    2.711
CATEGORIES= lang
MASTER_SITES=   http://www.yabasic.de/download/

MAINTAINER= ports@FreeBSD.org

USE_BISON=  yes
USE_XLIB=   yes
GNU_CONFIGURE=  yes
MAN1=       yabasic.1

post-patch:
    @${PERL} -pi -e "s|-DUNIX|\@X_CFLAGS\@ -DUNIX|g" ${WRKSRC}/Makefile.in
    @${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g" ${WRKSRC}/bison.c

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/yabasic.htm ${DOCSDIR}
.endif

.include <bsd.port.mk>