forked from Lainports/freebsd-ports
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup
With hat: portmgr
Sponsored by: Absolight
28 lines
623 B
Makefile
28 lines
623 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openzz
|
|
DISTVERSION= 1.0.4-4
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-1.0.4-4
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Interpreted dynamic parser
|
|
|
|
LICENSE= LGPL21 # or later
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
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>
|