mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
1b479a8bee
PR: ports/88284 Submitted by: Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
29 lines
621 B
Makefile
29 lines
621 B
Makefile
# New ports collection makefile for: byacc
|
|
# Date created: 28 Jun 2002
|
|
# Whom: David Xu
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= byaccj
|
|
PORTVERSION= 1.1
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= byaccj
|
|
DISTNAME= byaccj1.1
|
|
|
|
MAINTAINER= davidxu@viatech.com.cn
|
|
COMMENT= A java extension of BSD YACC-compatible parser generator
|
|
|
|
PLIST_FILES= bin/byaccj
|
|
WRKSRC= $(WRKDIR)/byaccj1.1/src
|
|
USE_REINPLACE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's#<malloc.h>#<stdlib.h>#' ${WRKSRC}/defs.h ${WRKSRC}/*c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/yacc ${PREFIX}/bin/byaccj
|
|
|
|
.include <bsd.port.mk>
|