2001-03-07 05:17:49 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: dia2code
|
|
|
|
# Date created: Mar 7, 2001
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dia2code
|
2002-01-30 01:52:22 +01:00
|
|
|
PORTVERSION= 0.8.1
|
2001-03-07 05:17:49 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2001-09-09 13:22:32 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2001-03-07 05:17:49 +01:00
|
|
|
|
2002-01-30 01:52:22 +01:00
|
|
|
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
|
2001-03-07 05:17:49 +01:00
|
|
|
|
2001-09-09 13:22:32 +02:00
|
|
|
XML_CONFIG= ${LOCALBASE}/bin/xml2-config
|
2002-01-30 01:52:22 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
XML_CONFIG="${XML_CONFIG}"
|
|
|
|
|
|
|
|
MAN1= dia2code.1
|
2001-03-07 05:17:49 +01:00
|
|
|
|
|
|
|
post-patch:
|
2002-01-30 01:52:22 +01:00
|
|
|
@${PERL} -pi -e 's|#include <malloc.h>||' ${WRKSRC}/dia2code/dia2code.h
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${MANPREFIX}/man/man1
|
2001-03-07 05:17:49 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|