6243479e81
- Support PORTDOCS/PORTEXAMPLES - Support PLIST_FILES PR: 143440 Submitted by: Ports Fury
41 lines
827 B
Makefile
41 lines
827 B
Makefile
# New ports collection makefile for: bwbasic
|
|
# Date created: 16 Jan 1997
|
|
# Whom: msmith@gsoft.com.au
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bwbasic
|
|
PORTVERSION= 2.50
|
|
CATEGORIES= lang
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/version%20${PORTVERSION}/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= The Bywater Basic interpreter
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
USE_ZIP= yes
|
|
USE_DOS2UNIX= yes
|
|
GNU_CONFIGURE= yes
|
|
MAKE_ARGS= CFLAGS="${CFLAGS} -ansi"
|
|
ALL_TARGET= ${PORTNAME}
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
post-patch:
|
|
@${CHMOD} a+x ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.doc ${DOCSDIR}
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@(cd ${WRKSRC}/bwbtest; ${COPYTREE_SHARE} . ${EXAMPLESDIR})
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|