1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/devel/openzz/Makefile

27 lines
619 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= openzz
PORTVERSION= 1.0.4.4
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-1.0.4-4
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
COMMENT= Interpreted dynamic parser
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
GNU_CONFIGURE= yes
CFLAGS+= -Wno-return-type
INSTALL_TARGET= install-strip
USES= libtool readline
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e "s/cfree/free/g" ${WRKSRC}/src/list.c
@${REINPLACE_CMD} -e "s/argv\[\]/*argv/" ${WRKSRC}/src/zzbind.h
.include <bsd.port.mk>