1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/lang/pbasic/Makefile
2018-06-24 06:34:38 +00:00

36 lines
1010 B
Makefile

# Created by: Julian H. Stacey <jhs@FreeBSD.org>
# $FreeBSD$
PORTNAME= pbasic
PORTVERSION= 2.1
CATEGORIES= lang
MASTER_SITES= ftp://ftp.berklix.org/pub/FreeBSD/ports/distfiles/ \
http://www.berklix.com/~jhs/ftp/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}-2017-04-08
MAINTAINER= jhs@berklix.com
COMMENT= Phil Cockroft's Basic Interpreter (previously Rabbit Basic)
# Author of generic sources: "phil@cockcroft.de"
LICENSE= PD
ALL_TARGET= freebsd
MAKEFILE= makefile
PLIST_FILES= bin/pbasic man/man1/pbasic.1.gz
post-patch: .SILENT
${REINPLACE_CMD} -e '/^CC/s/=/?=/' \
-e '/^CFLAGS/{s/=/+=/;s/-O//;}' \
${WRKSRC}/freebsd/makefile
${ECHO_CMD} '.PHONY: $$(SYSTEMS)' >>${WRKSRC}/makefile
do-configure:
-cd ${WRKSRC} ; ${RM} -r termio m68000 msdos vax pyramid ns32000 \
pdp11 cursor/cursor.dos cursor/cursor.ukc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/basic ${STAGEDIR}${PREFIX}/bin/pbasic
${INSTALL_MAN} ${WRKSRC}/docs/basic.1 ${STAGEDIR}${PREFIX}/man/man1/pbasic.1
.include <bsd.port.mk>