# $OpenBSD: Makefile,v 1.20 2009/05/23 15:00:03 benoit Exp $ NOT_FOR_ARCHS= ${NO_SHARED_ARCHS} COMMENT= perl interface to the Sablotron XSLT engine DISTNAME= XML-Sablotron-1.01 PKGNAME= p5-${DISTNAME} CATEGORIES= textproc perl5 HOMEPAGE= http://www.gingerall.org/ MAINTAINER= Benoit Lecocq # GPLv2 / MPL1.1 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= expat m MASTER_SITES= http://download-1.gingerall.cz/download/sablot/ MODULES= converters/libiconv LIB_DEPENDS= sablot.>=100::textproc/sablotron USE_X11= Yes CONFIGURE_STYLE= perl CONFIGURE_ARGS= EXPATLIBPATH="${X11BASE}/lib" EXPATINCPATH="${X11BASE}/include" SABLOTLIBPATH="${LOCALBASE}/lib" SABLOTINCPATH="${LOCALBASE}/include" .include USE_GCC3?= No .if ${USE_GCC3:L} == "yes" CONFIGURE_ENV+= LDFLAGS="-lstdc++" WANTLIB+= stdc++ .endif .include