mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
23 lines
517 B
Makefile
23 lines
517 B
Makefile
# Created by: David Xu
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= byaccj
|
|
PORTVERSION= 1.15
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= SF
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}_src
|
|
|
|
MAINTAINER= pauls@utdallas.edu
|
|
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>
|