openbsd-ports/textproc/p5-XML-SAX/Makefile

29 lines
663 B
Makefile

# $OpenBSD: Makefile,v 1.10 2006/11/07 18:16:02 espie Exp $
COMMENT= "perl interface to the SAX2 XML Parser"
VERSION= 0.14
DISTNAME= XML-SAX-${VERSION}
PKGNAME= p5-${DISTNAME}
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/}
# GPL/Artistic
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= :p5-XML-NamespaceSupport->=0.03:textproc/p5-XML-NamespaceSupport
BUILD_DEPENDS= ${RUN_DEPENDS}
CONFIGURE_STYLE= perl
# Install parser template
post-install:
@${INSTALL_DATA} ${FILESDIR}/ParserDetails.ini \
${PREFIX}/libdata/perl5/site_perl/XML/SAX/
.include <bsd.port.mk>