1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/lang/bwbasic/Makefile
Pawel Pekala 599724f3bd - Add staging support
- Convert to new options framework
2014-05-31 19:33:48 +00:00

36 lines
815 B
Makefile

# Created by: msmith@gsoft.com.au
# $FreeBSD$
PORTNAME= bwbasic
PORTVERSION= 2.60
CATEGORIES= lang
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/version%20${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= The Bywater Basic interpreter
NO_WRKSUBDIR= yes
USES= dos2unix zip
GNU_CONFIGURE= yes
MAKE_ARGS= CFLAGS="${CFLAGS} -ansi"
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:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.doc ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/bwbtest; ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>