1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/devel/openzz/Makefile
Dmitry Marakasov e20b375c3d - Switch to USES=libtool
- Strip libraries
2014-05-28 08:42:58 +00:00

29 lines
639 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}
USES= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CFLAGS+= -Wno-return-type
post-patch:
@${REINPLACE_CMD} -e "s/cfree/free/g" ${WRKSRC}/src/list.c
@${REINPLACE_CMD} -e "s/argv\[\]/*argv/" ${WRKSRC}/src/zzbind.h
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
.include <bsd.port.mk>