aboutsummaryrefslogtreecommitdiffstats
path: root/devel/byaccj/Makefile
blob: 188420c0ee8263d0fcdb244131c0b713062153f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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

NO_STAGE=   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>