freebsd-ports/lang/yabasic/Makefile

36 lines
730 B
Makefile
Raw Normal View History

# Created by: Frank Gruender
# $FreeBSD$
PORTNAME= yabasic
2014-04-11 18:02:32 +02:00
PORTVERSION= 2.767
CATEGORIES= lang
MASTER_SITES= http://www.yabasic.de/download/
MAINTAINER= ports@FreeBSD.org
2003-02-20 20:00:52 +01:00
COMMENT= Yet another Basic for Unix and Windows
USE_XORG= x11 ice sm xt
USES= bison
GNU_CONFIGURE= yes
PORTDOCS= yabasic.htm
2013-10-17 04:06:19 +02:00
PLIST_FILES= bin/yabasic man/man1/yabasic.1.gz
OPTIONS_DEFINE= DOCS
2013-10-17 04:06:19 +02:00
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s|= -DUNIX|= @X_CFLAGS@ -DUNIX|g" ${WRKSRC}/Makefile.in
post-build test:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
post-install:
2013-10-17 04:06:19 +02:00
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/yabasic.htm ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>