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