mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
22 lines
504 B
Makefile
22 lines
504 B
Makefile
# Created by: David Xu
|
|
|
|
PORTNAME= byaccj
|
|
PORTVERSION= 1.15
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= SF
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}_src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Java extension of BSD YACC-compatible parser generator
|
|
|
|
PLIST_FILES= bin/byaccj
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/src
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's#<malloc.h>#<stdlib.h>#' ${WRKSRC}/defs.h ${WRKSRC}/*c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/yacc ${STAGEDIR}${PREFIX}/bin/byaccj
|
|
|
|
.include <bsd.port.mk>
|