mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
5005b67362
OPTIONS_DEFINE. This policy has been implemented only recently that's why we have many ports violating this policy. This patch adds the default options specified in the Porter's Handbook to OPTIONS_DEFINE where they are being used. Ports maintained by gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded. Approved by: portmgr (bapt)
37 lines
747 B
Makefile
37 lines
747 B
Makefile
# Created by: Frank Gruender
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= yabasic
|
|
PORTVERSION= 2.763
|
|
PORTREVISION= 3
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://www.yabasic.de/download/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Yet another Basic for Unix and Windows
|
|
|
|
USE_XORG= x11 ice sm xt
|
|
USES= bison
|
|
GNU_CONFIGURE= yes
|
|
|
|
PORTDOCS= yabasic.htm
|
|
PLIST_FILES= bin/yabasic man/man1/yabasic.1.gz
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.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:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/yabasic.htm ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|