1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/lang/yabasic/Makefile
2018-11-17 13:05:44 +00:00

39 lines
857 B
Makefile

# Created by: Frank Gruender <elwood@mc5sys.in-berlin.de>
# $FreeBSD$
PORTNAME= yabasic
PORTVERSION= 2.81.1
PORTEPOCH= 1
CATEGORIES= lang
MASTER_SITES= http://www.yabasic.de/download/
MAINTAINER= wen@FreeBSD.org
COMMENT= Yet another Basic for Unix and Windows
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= bison ncurses
GNU_CONFIGURE= yes
USE_XORG= ice sm x11
TEST_TARGET= check
PORTDOCS= yabasic.htm
PLIST_FILES= bin/yabasic man/man1/yabasic.1.gz
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's|= -DUNIX|= @X_CFLAGS@ -DUNIX|g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|-R$$x_libraries||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
'/Intrinsic.h/d' ${WRKSRC}/yabasic.h
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>