openbsd-ports/textproc/p5-XML-XPath/Makefile
2003-07-04 06:15:21 +00:00

30 lines
713 B
Makefile

# $OpenBSD: Makefile,v 1.13 2003/07/04 06:15:21 kevlo Exp $
COMMENT= "modules for parsing and evaluating XPath statements"
DISTNAME= XML-XPath-1.13
PKGNAME= p5-${DISTNAME}
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/}
BUILD_DEPENDS= :p5-XML-Parser->=2.23:textproc/p5-XML-Parser
RUN_DEPENDS= ${BUILD_DEPENDS}
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= perl
DOCDIR= ${PREFIX}/share/examples/p5-XML-XPath
SRCDOCDIR= ${WRKSRC}/examples
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_SCRIPT} ${SRCDOCDIR}/xpath ${DOCDIR}/
${INSTALL_DATA} ${SRCDOCDIR}/*.xml ${DOCDIR}/
.include <bsd.port.mk>