2002-05-13 21:06:04 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: openzz
|
|
|
|
# Date created: May 13, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= openzz
|
2002-06-29 21:10:16 +02:00
|
|
|
PORTVERSION= 1.0.4.4
|
2002-05-13 21:06:04 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-06-29 21:10:16 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
|
2002-05-13 21:06:04 +02:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= An interpreted dynamic parser
|
2002-05-13 21:06:04 +02:00
|
|
|
|
2002-06-29 21:10:16 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
|
|
|
|
|
2002-06-25 20:36:39 +02:00
|
|
|
USE_REINPLACE= yes
|
2004-07-09 19:43:11 +02:00
|
|
|
USE_INC_LIBTOOL_VER= 13
|
2002-05-13 21:06:04 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2002-05-22 14:08:01 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-05-13 21:06:04 +02:00
|
|
|
post-patch:
|
2002-06-25 20:36:39 +02:00
|
|
|
@${REINPLACE_CMD} -e "s/cfree/free/g" ${WRKSRC}/src/list.c
|
2002-05-22 14:08:01 +02:00
|
|
|
.if ${OSVERSION} <= 500027
|
2002-06-25 20:36:39 +02:00
|
|
|
@${FIND} ${WRKSRC}/src -type f | ${XARGS} ${REINPLACE_CMD} \
|
2002-05-22 14:08:01 +02:00
|
|
|
-e 's|<stdint.h>|<inttypes.h>|'
|
|
|
|
.endif
|
2002-05-13 21:06:04 +02:00
|
|
|
|
2002-05-22 14:08:01 +02:00
|
|
|
.include <bsd.port.post.mk>
|