mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
f271413995
PR: ports/63007 Submitted by: Ports Fury
37 lines
796 B
Makefile
37 lines
796 B
Makefile
# New ports collection makefile for: yabasic
|
|
# Date created: 11 Nov 1999
|
|
# Whom: Frank Gruender
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= yabasic
|
|
PORTVERSION= 2.743
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://www.yabasic.de/download/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Yet another Basic for Unix and Windows
|
|
|
|
USE_XLIB= yes
|
|
USE_BISON= yes
|
|
USE_REINPLACE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
MAN1= yabasic.1
|
|
PLIST_FILES= bin/yabasic
|
|
PORTDOCS= yabasic.htm
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|= -DUNIX|= @X_CFLAGS@ -DUNIX|g" ${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -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>
|