openbsd-ports/textproc/p5-XML-Sablotron/Makefile
2010-11-20 19:56:47 +00:00

40 lines
913 B
Makefile

# $OpenBSD: Makefile,v 1.25 2010/11/20 19:56:51 espie Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= perl interface to the Sablotron XSLT engine
DISTNAME= XML-Sablotron-1.01
REVISION= 0
CATEGORIES= textproc perl5
HOMEPAGE= http://www.gingerall.org/
MAINTAINER= Benoit Lecocq <benoit@openbsd.org>
# GPLv2 / MPL1.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= expat m sablot>=100
MASTER_SITES= http://download-1.gingerall.cz/download/sablot/
MODULES= converters/libiconv
LIB_DEPENDS= textproc/sablotron
USE_GROFF = Yes
CONFIGURE_STYLE= perl
CONFIGURE_ARGS= EXPATLIBPATH="${X11BASE}/lib" EXPATINCPATH="${X11BASE}/include" SABLOTLIBPATH="${LOCALBASE}/lib" SABLOTINCPATH="${LOCALBASE}/include"
.include <bsd.own.mk>
.if ${COMPILER_VERSION:L:Mgcc[34]*}
CONFIGURE_ENV+= LDFLAGS="-lstdc++"
WANTLIB+= stdc++
.endif
.include <bsd.port.mk>