summaryrefslogblamecommitdiff
path: root/textproc/minidom/Makefile
blob: fbaf1b6a6df51a2de3ffb814003336f65064fbfd (plain) (tree)
1
2
3
4
5
6
7
8
9








                                               
                     
                 
                        
                                                           

                                 
                                                                     
 
                                                 
 
                       
                   
                      
                   


                                                   
                   

           
                                                      


                                                                        

                      
# ex:ts=8
# New ports collection makefile for:	minidom
# Date created:			Aug 13, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	minidom
PORTVERSION=	0.1.4
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	http://helm.cs.unibo.it/mml-widget/sources/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A minimal implementation of the Document Object Model

LIB_DEPENDS=	xml2:${PORTSDIR}/textproc/libxml2

USE_AUTOTOOLS=	libtool
USE_ICONV=	yes
USE_GNOME=	glib12
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS=	--with-libxml2=yes
USE_LDCONFIG=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|-lglib|-lglib-12|g ; \
		s|glib-config|${GLIB_CONFIG}|g ; \
		s|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
		${WRKSRC}/configure

.include <bsd.port.mk>