1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/devel/openzz/Makefile

34 lines
698 B
Makefile
Raw Normal View History

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