mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
23e8ae1948
s|malloc.h|stdlib.h| PR: 33230, 33231 Reported by: Bruce M Simpson <bms@spc.org>
29 lines
665 B
Makefile
29 lines
665 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: dia2code
|
|
# Date created: Mar 7, 2001
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dia2code
|
|
PORTVERSION= 0.7
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 \
|
|
giconv:${PORTSDIR}/converters/libiconv
|
|
|
|
GNU_CONFIGURE= yes
|
|
XML_CONFIG= ${LOCALBASE}/bin/xml2-config
|
|
USE_GMAKE= yes
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dia2code/Makefile.in
|
|
@${PERL} -pi -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/dia2code/dia2code.h
|
|
|
|
.include <bsd.port.mk>
|