mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
d6445de572
language following Hewlett-Packard or, alternatively, Reverse Polish LISP) correctly as RPL. While majority of HP calculators use Reverse Polish notation (RPN) for computations, it is not correct abbreviation for their programming language - Augment mirror list to offload author's personal website to SunSITE mirrors available Feature safe: yes
40 lines
916 B
Makefile
40 lines
916 B
Makefile
# New ports collection makefile for: hp48cc
|
|
# Date created: Sun Aug 12 04:33:37 EDT 2001
|
|
# Whom: Patrick Li <pat@databits.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hp48cc
|
|
PORTVERSION= 1.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel lang
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE} http://www.sigala.it/sandro/files/
|
|
MASTER_SITE_SUBDIR= devel/lang/c
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= C-like compiler that translates input code to the HP48 RPL language
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_BISON= build
|
|
GNU_CONFIGURE= yes
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
PORTEXAMPLES= *
|
|
|
|
post-patch:
|
|
# Fix the Makefile to unbreak parallel builds
|
|
@${REINPLACE_CMD} -e 's,(YACC),& -o parser.c, ; \
|
|
s,(LEX),& -olexer.c, ; /mv/d' ${WRKSRC}/src/Makefile.in
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|