1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/devel/hp48cc/Makefile

36 lines
812 B
Makefile

# Created by: Patrick Li <pat@databits.net>
# $FreeBSD$
PORTNAME= hp48cc
PORTVERSION= 1.3
PORTREVISION= 2
CATEGORIES= devel lang
MASTER_SITES= SUNSITE/devel/lang/c \
http://www.sigala.it/sandro/files/
MAINTAINER= danfe@FreeBSD.org
COMMENT= C-like compiler that translates input code to the HP48 RPL language
LICENSE= GPLv2
USES= bison
GNU_CONFIGURE= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES
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:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>