mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
be1ddad1fd
- Switch to options helpers
41 lines
909 B
Makefile
41 lines
909 B
Makefile
# Created by: msmith@gsoft.com.au
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bwbasic
|
|
PORTVERSION= 3.00
|
|
CATEGORIES= lang
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/version%20${PORTVERSION}/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Bywater Basic interpreter
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
USES= dos2unix zip
|
|
GNU_CONFIGURE= yes
|
|
MAKE_ARGS= CFLAGS="${CFLAGS} -ansi -DHAVE_ISNAN=1"
|
|
ALL_TARGET= ${PORTNAME}
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-patch:
|
|
@${CHMOD} a+x ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
@${REINPLACE_CMD} 's|bindir)|DESTDIR)$$(&|' ${WRKSRC}/Makefile.in
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.doc ${STAGEDIR}${DOCSDIR}
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/bwbtest; ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|